S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Reversing a Queue | 2886 |
2 | Count Pairs With Given Sum | 2746 |
3 | Reverse a String using Stack | 2736 |
4 | Product of array except self | 2351 |
5 | Find Triplet in Array With a Given Sum | 2280 |
6 | Smallest Positive Number Missing in an Unsorted Array | 2239 |
7 | A Product Array Puzzle | 2199 |
8 | Rabin Karp Algorithm | 2172 |
9 | KMP Algorithm | 1822 |
10 | Total Numbers With no Repeated Digits in a Range | 1744 |
11 | First negative integer in every window of size k | 1599 |
12 | Tug of War | 1591 |
13 | Multiplication of Previous and Next | 1528 |
14 | Trapping Rain Water Leetcode Solution | 1484 |
15 | Segregate even and odd numbers | 1463 |
16 | Program for Bridge and Torch problem | 1453 |
17 | Reverse words in a string | 1449 |
18 | Find Top K (or Most Frequent) Numbers in a Stream | 1369 |
19 | Implement Two Stacks in an Array | 1362 |
20 | Maximum Sum of Non Consecutive Elements | 1358 |
21 | Dijkstra Algorithm | 1337 |
22 | Longest Common Prefix using Divide and Conquer | 1334 |
23 | Reverse a linked list | 1326 |
24 | Sort Colors LeetCode Solution | 1324 |
25 | Online Algorithm for Checking Palindrome in a Stream | 1290 |
26 | Add Two Numbers II Leetcode Solution | 1264 |
27 | N queen problem | 1244 |
28 | Find elements which are present in first array and not in second | 1229 |
29 | Find the Subarray of given length with Least Average | 1203 |
30 | Iterative Method to find Height of Binary Tree | 1179 |