S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | First element occurring k times in an array | 2663 |
2 | Find Index of Closing Bracket for a Given Opening Bracket in an Expression | 1219 |
3 | Iterative Method to find Height of Binary Tree | 1187 |
4 | Sort 0s 1s and 2s in an Array | 1139 |
5 | Find distinct elements common to all rows of a matrix | 1035 |
6 | Rearrange an array in order – smallest, largest, 2nd smallest, 2nd largest | 1000 |
7 | Check for Balanced Parentheses in an Expression | 1000 |
8 | Balanced Expression with Replacement | 964 |
9 | Check if Two Expressions With Brackets are Same | 902 |
10 | Golomb sequence | 900 |
11 | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | 701 |