Skip to main content

Top Questions asked By Walmart

 


  1. Discuss in detail what happens when you write a code and compile it.
  2. What is multithreading? State any C++ multithreading framework you might have worked with.
  3. Explain encapsulation, abstraction, polymorphism.
  4. Explain inheritance. What is the Diamond problem?
  5. How memory is allocated in C++.
  6. What is malloc? Differences from calloc?
  7. What is a microprocessor?
  8. Explain microservices architecture.
  9. Explain normalization and all their forms.
  10. Differences between inner and outer joins.
  11. DFS vs. BFS
  12. What is the heap?
  13. Detect a loop in the linked list. If a loop exists, return the start node of the loop.
  14. Find the third most frequent element in an array.
  15. Finding n next permutations using some specific set of digits given.

  16.  Find the number of ways of reaching from top left to bottom right of a matrix.

  17.  Minimum number of jumps to reach end

  18. given a number N. print in how many ways it can be represented as N = a+b+c+d , 1< =a< =b< =c< = d; 1<=N< = 5000

  19.  given two number l and r (l<=r<=10^6) find most frequent digit among all prime numbers between l and r inclusive. if frequency is same print highest digit.

  20.  Check for balanced parenthesis

  21.  Find the maximum digit occurred in a range of prime numbers

  22.  https://www.hackerearth.com/problem/algorithm/magnificent-fountains/

  23. Explain inner classes in JAVA. Where exactly inner classes were used while designing famous JAVA APIs.

  24.  Find the number of possibilities to move from one point to another point in a chess board kind of square box.

  25. Remove spaces in a string without using inbuilt function and taking constant space.

  26. Reverse a linked list.

  27. Maximum height of a tree.

  28. Find the number of leaf nodes for a given node.

  29. How has Linkedin designed the number of hops to get connected to other people.

  30.  https://www.geeksforgeeks.org/count-number-ways-reach-given-score-game/

  31. https://www.geeksforgeeks.org/longest-palindrome-substring-set-1

  32.  https://practice.geeksforgeeks.org/problems/maximum-tip-calculator/0

  33. https://www.geeksforgeeks.org/connect-nodes-at-same-level-with-o1-extra-space/

Comments

Popular posts from this blog

List of Questions asked by Morgan Stanley

  Coding Questions -  1.  .   Exchange kth node from start and kth node from end of a singly linked list. 2.    Given a number, you have to find next greater number which has same set of digits. 3.    Given a binary tree, you have to print level order traversal of the tree (left child then right child) but every next level has to be printed in next line. 4.    Longest Common Substring 5.    Spiral level order traversal 6.    Add two linked lists 7.    Write a function to find the mirror image of binary tree 8.    WAP to find the character which occurred maximum times in the character array 9.  Given a 2d matrix find an element in a matrix which is 0 and make the entire row and column to 0 10.  Find the minimum element in the rotated array of integers 11.  Find highest length substring such that there are equal number of 0’s and 1’sin array of 1’s and 0’s only 12.  Given a dictionary, find all the words which are anagram of each other 13.  Given a sorted array and a number ‘c’ . find pa

Top Questions asked by Facebook

                  Facebook is the dream company of almost every software engineer. If you are doing interview preparation, you can't skip the must do coding questions for Facebook. Facebook is the product-based company and tests the candidate on data structures and algorithms, and logical questions. The coding level is a bit tough, but you can do it with your hard work. Below is the list of coding questions you must prepare before sitting for Facebook. Smallest string which not a subsequence of the given string Maximum length possible by cutting N given woods into at least K pieces Count possible decodings of a given Digit Sequence | Set 2 Find the maximum path sum in a binary tree   Maximize profit for buying and selling stock given a series of price vectors Given  m  sorted arrays, find the  k- th smallest value Binary search in a sorted, rotated array Given a string, check if it is a palindrome  by ignoring spaces. E.g. race car would be a palindrome. Given two very large string

Complete E-commerce App in Flutter and Firebase

  This app contains authentication with create account process and login process.  This is how the app looks like, you can find the source code at the end.          Link to Source Code ThankYou!!