S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Reverse a String using Stack | 5602 |
2 | Reversing a Queue | 5126 |
3 | OSI Model | 3593 |
4 | Maximum Distance Between two Occurrences of Same Element in Array | 2606 |
5 | Longest subarray not having more than K distinct elements | 2341 |
6 | Longest Palindrome can be Formed by Removing or Rearranging Characters | 2308 |
7 | Find elements which are present in first array and not in second | 2069 |
8 | The Stock Span Problem | 2033 |
9 | Compare Two Version Numbers | 1998 |
10 | Shortest Palindrome | 1911 |
11 | Tiling Problem | 1885 |
12 | Check if String can Become Empty by Recursively Deleting given Substring | 1841 |
13 | Check if stack elements are pairwise consecutive | 1803 |
14 | Print Fibonacci sequence using 2 variables | 1577 |
15 | Group Multiple Occurrence of Array Elements Ordered by first Occurrence | 1533 |
16 | Bubble sort using two Stacks | 1491 |
17 | Change the Array into Permutation of Numbers From 1 to N | 1434 |
18 | Find subarray with given sum (Handles Negative Numbers) | 1409 |
19 | Types of Binary Tree | 1344 |
20 | Maximum subsequence sum such that no three are consecutive | 1282 |
21 | Insertion in a Binary Tree | 1275 |
22 | Find missing elements of a range | 1252 |
23 | Maximum sum of pairs with specific difference | 1165 |
24 | Find the minimum distance between two numbers | 1155 |
25 | Ugly Numbers | 1152 |
26 | Find Largest d in Array such that a + b + c = d | 1111 |
27 | Find the Only Repetitive Element Between 1 to N-1 | 1082 |
28 | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | 1002 |
29 | Graph and its representation | 994 |
30 | Maximum Array from Two given Arrays Keeping Order Same | 933 |