S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | First element occurring k times in an array | 4137 |
2 | Convert array into Zig-Zag fashion | 3723 |
3 | Program for Bridge and Torch problem | 2567 |
4 | Queries for GCD of all numbers of an array except elements in a given range | 2092 |
5 | Count subarrays having total distinct elements same as original array | 2019 |
6 | Check if the given array can represent Level Order Traversal of Binary Search Tree | 1634 |
7 | Largest Sum Contiguous Subarray | 1527 |
8 | Find Number of Employees Under every Employee | 1397 |
9 | Maximum length subsequence with difference between adjacent elements as either 0 or 1 | 1360 |
10 | Find pairs with given sum such that elements of pair are in different rows | 1331 |
11 | Non-overlapping sum of two sets | 1287 |
12 | Replace two consecutive equal values with one greater | 1202 |
13 | Maximum number of segments of lengths a, b and c | 1147 |
14 | Check in binary array the number represented by a subarray is odd or even | 1001 |
15 | Print modified array after executing the commands of addition and subtraction | 932 |
16 | Elements to be added so that all elements of a range are present in array | 881 |
17 | Maximum Depth Of Binary Tree | 819 |