S.No | Interview Question | Number of times candidates experienced this question in interviews |
---|

1 | Print the Fibonacci numbers in reverse order | 8705 |

2 | Convert array into Zig-Zag fashion | 5396 |

3 | Spiral Matrix II Leetcode Solution | 3663 |

4 | Transpose Graph | 3266 |

5 | Multiplication of Previous and Next | 3256 |

6 | Sequences of given length where every element is more than or equal to twice of previous | 3066 |

7 | Distance of nearest cell having 1 in a binary matrix | 2999 |

8 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 2797 |

9 | Longest Common Prefix using Divide and Conquer | 2784 |

10 | Check if all Rows of a Matrix are Circular Rotations of Each Other | 2646 |

11 | Check if two arrays are equal or not | 2628 |

12 | Sort a String According to Another String | 2576 |

13 | Find the Subarray of given length with Least Average | 2503 |

14 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 2375 |

15 | Longest Subarray Having Count of 1s One More than Count of 0s | 2352 |

16 | Insertion Sort | 2331 |

17 | Rearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < i | 2308 |

18 | String comparison containing wildcards | 2250 |

19 | Rearrange an Array Such that arr[i] is equal to i | 2184 |

20 | Largest area rectangular sub-matrix with equal number of 1’s and 0’s | 2094 |

21 | Replace two consecutive equal values with one greater | 1991 |

22 | Split Four Distinct Strings | 1940 |

23 | Maximum subsequence sum such that no three are consecutive | 1932 |

24 | Longest Span with same Sum in two Binary Arrays II | 1930 |

25 | Print all triplets in sorted array that form AP | 1915 |

26 | Convert a String that is Repetition of a Substring of Length K | 1915 |

27 | Minimum sum of multiplications of n numbers | 1907 |

28 | Count Subarrays with Same Even and Odd Elements | 1896 |

29 | Compute nCr % p | 1879 |

30 | Maximum difference between frequency of two elements such that element having greater frequency is also greater | 1734 |