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

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

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

3 | Spiral Matrix II Leetcode Solution | 2742 |

4 | Multiplication of Previous and Next | 2358 |

5 | Transpose Graph | 2215 |

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

7 | Longest Common Prefix using Divide and Conquer | 2036 |

8 | Distance of nearest cell having 1 in a binary matrix | 1974 |

9 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 1909 |

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

11 | Find the Subarray of given length with Least Average | 1782 |

12 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 1768 |

13 | Insertion Sort | 1722 |

14 | Sort a String According to Another String | 1699 |

15 | Check if two arrays are equal or not | 1676 |

16 | Longest Subarray Having Count of 1s One More than Count of 0s | 1586 |

17 | Rearrange an Array Such that arr[i] is equal to i | 1568 |

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

19 | String comparison containing wildcards | 1433 |

20 | Longest Span with same Sum in two Binary Arrays II | 1391 |

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

22 | Print all triplets in sorted array that form AP | 1302 |

23 | Convert a String that is Repetition of a Substring of Length K | 1299 |

24 | Maximum subsequence sum such that no three are consecutive | 1291 |

25 | Compute nCr % p | 1266 |

26 | Minimum sum of multiplications of n numbers | 1253 |

27 | Replace two consecutive equal values with one greater | 1231 |

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

29 | Split Four Distinct Strings | 1203 |

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