S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Rabin Karp Algorithm | 2227 |
2 | Valid Palindrome II Leetcode Solution | 1989 |
3 | KMP Algorithm | 1854 |
4 | Minimum Steps to reach target by a Knight | 1780 |
5 | Subarray with 0 sum | 1721 |
6 | Arrange given Numbers to Form the Biggest Number II | 1679 |
7 | Segregate even and odd numbers | 1503 |
8 | Product of Array Except Self LeetCode Solution | 1478 |
9 | Reverse words in a string | 1469 |
10 | Find Pythagorean Triplets from Array | 1450 |
11 | Check if String can Become Empty by Recursively Deleting given Substring | 1369 |
12 | Reverse a linked list | 1352 |
13 | Count Number of Occurrences in a Sorted Array | 1308 |
14 | Compare Two Version Numbers | 1248 |
15 | Sort 0s 1s and 2s in an Array | 1146 |
16 | Maximum difference between two elements such as larger element comes after smaller | 1131 |
17 | Reverse Nodes in k-Group LeetCode Solution | 1049 |
18 | LRU Cache Leetcode Solution | 1020 |
19 | Largest Sum Contiguous Subarray | 965 |
20 | The Knapsack Problem | 906 |
21 | Queue using Stacks | 881 |
22 | Perfect Reversible String | 866 |
23 | Segregate 0s and 1s in an Array | 860 |
24 | Reverse Integer | 854 |
25 | Find distance between two nodes of a Binary Tree | 822 |
26 | Maximum difference between first and last indexes of an element in array | 811 |
27 | Print a Binary Tree in Vertical Order | 774 |
28 | Rotate Array | 737 |
29 | Contiguous Array | 721 |
30 | Largest subarray with equal number of 0s and 1s | 716 |