S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Check length of a String is Equal to the Number Appended at its Last | 6527 |
2 | Reverse a String using Stack | 4878 |
3 | Implementation of Deque using Doubly Linked List | 3408 |
4 | Convert array into Zig-Zag fashion | 3301 |
5 | Minimum swaps required to bring all elements less than or equal to k together | 2810 |
6 | Most Frequent Element in an Array | 2562 |
7 | Minimum Operations to convert X to Y | 2492 |
8 | Implement a stack using single queue | 2404 |
9 | Maximum Distance Between two Occurrences of Same Element in Array | 2393 |
10 | Difference between highest and least frequencies in an array | 2012 |
11 | Maximum Consecutive Numbers Present in an Array | 1893 |
12 | Longest subsequence such that difference between adjacents is one | 1880 |
13 | How to Implement Stack Using Priority Queue or Heap? | 1856 |
14 | Iterative Method to find Height of Binary Tree | 1829 |
15 | Tracking current Maximum Element in a Stack | 1806 |
16 | Stack Permutations (Check if an array is stack permutation of other) | 1797 |
17 | Reverse a Stack Using Recursion | 1742 |
18 | Number of NGEs to the Right | 1712 |
19 | Priority Queue in C++ | 1708 |
20 | Top K Frequent Words | 1687 |
21 | Tower Of Hanoi | 1651 |
22 | Check if stack elements are pairwise consecutive | 1623 |
23 | Find the Subarray of given length with Least Average | 1619 |
24 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 1616 |
25 | Rearrange array such that even index elements are smaller and odd index elements are greater | 1532 |
26 | Maximize Elements Using Another Array | 1453 |
27 | How to Efficiently Implement k Stacks in a Single Array? | 1451 |
28 | Morris Traversal | 1424 |
29 | Print Fibonacci sequence using 2 variables | 1414 |
30 | Remove brackets from an algebraic string containing + and – operators | 1402 |