S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Reverse a String using Stack | 5618 |
2 | Count Pairs With Given Sum | 5401 |
3 | Product of array except self | 5265 |
4 | Reversing a Queue | 5155 |
5 | Total Numbers With no Repeated Digits in a Range | 4436 |
6 | Sort Colors LeetCode Solution | 4428 |
7 | A Product Array Puzzle | 4089 |
8 | Rabin Karp Algorithm | 3940 |
9 | Add Two Numbers II Leetcode Solution | 3555 |
10 | First negative integer in every window of size k | 3524 |
11 | Trapping Rain Water Leetcode Solution | 3481 |
12 | KMP Algorithm | 3462 |
13 | Find Triplet in Array With a Given Sum | 3230 |
14 | Smallest Positive Number Missing in an Unsorted Array | 3222 |
15 | Segregate even and odd numbers | 2928 |
16 | Reverse words in a string | 2582 |
17 | Program for Bridge and Torch problem | 2574 |
18 | Find Top K (or Most Frequent) Numbers in a Stream | 2440 |
19 | Tug of War | 2431 |
20 | Multiplication of Previous and Next | 2344 |
21 | Dijkstra Algorithm | 2204 |
22 | Maximum Consecutive Numbers Present in an Array | 2170 |
23 | Reverse a linked list | 2137 |
24 | Find elements which are present in first array and not in second | 2072 |
25 | Iterative Method to find Height of Binary Tree | 2060 |
26 | Maximum Sum of Non Consecutive Elements | 2022 |
27 | Longest Common Prefix using Divide and Conquer | 2019 |
28 | Number of NGEs to the Right | 2014 |
29 | Implement Two Stacks in an Array | 1947 |
30 | Online Algorithm for Checking Palindrome in a Stream | 1944 |