S.No |
Interview Question |
Number of times candidates experienced this question in interviews |
1 | Print the Fibonacci numbers in reverse order | 3471 |
2 | Convert array into Zig-Zag fashion | 1621 |
3 | Multiplication of Previous and Next | 1526 |
4 | Spiral Matrix II Leetcode Solution | 1409 |
5 | Longest Common Prefix using Divide and Conquer | 1334 |
6 | Check if all Rows of a Matrix are Circular Rotations of Each Other | 1291 |
7 | Insertion Sort | 1290 |
8 | Find the Subarray of given length with Least Average | 1203 |
9 | Transpose Graph | 1191 |
10 | Distance of nearest cell having 1 in a binary matrix | 1131 |
11 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 1075 |
12 | Sequences of given length where every element is more than or equal to twice of previous | 1050 |
13 | Sort a String According to Another String | 1049 |
14 | Longest Span with same Sum in two Binary Arrays II | 1013 |
15 | Check if two arrays are equal or not | 944 |
16 | String comparison containing wildcards | 879 |
17 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 873 |
18 | Longest Subarray Having Count of 1s One More than Count of 0s | 841 |
19 | Split Four Distinct Strings | 807 |
20 | Rearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < i | 783 |
21 | Convert a String that is Repetition of a Substring of Length K | 781 |
22 | Compute nCr % p | 778 |
23 | Print all triplets in sorted array that form AP | 768 |
24 | Rearrange an Array Such that arr[i] is equal to i | 757 |
25 | Maximum subsequence sum such that no three are consecutive | 734 |
26 | Largest area rectangular sub-matrix with equal number of 1’s and 0’s | 722 |
27 | Count Subarrays with Same Even and Odd Elements | 706 |
28 | Replace two consecutive equal values with one greater | 703 |
29 | Check if an Array is Stack Sortable | 692 |
30 | Next Greater Frequency Element | 671 |