Skip to main content
FREE Mock interview & resume review with Sumit. Free right now, no payment needed.Book a slot

36 questions

Searching and Sorting DSA questions

Binary search variants and the sorts interviews expect you to derive.

Searching and Sorting questions

0 of 36 solved

0%

Saved in this browser. The 13-week sheet keeps a separate account progress.

  1. 01

    Find first and last positions of an element in a sorted array

    Open on GeeksforGeeks
  2. 02

    Find a Fixed Point (Value equal to index) in a given array

    Open on GeeksforGeeks
  3. 03

    Search in a rotated sorted array

    Open on LeetCode
  4. 04

    Square root of an integer

    Open on GeeksforGeeks
  5. 05

    Maximum and minimum of an array using minimum number of comparisons

    Open on GeeksforGeeks
  6. 06

    Optimum location of point to minimize total distance

    Open on GeeksforGeeks
  7. 07

    Find the repeating and the missing

    Open on GeeksforGeeks
  8. 08

    Find majority element

    Open on GeeksforGeeks
  9. 09

    Searching in an array where adjacent differ by at most k

    Open on GeeksforGeeks
  10. 10

    Find a pair with a given difference

    Open on GeeksforGeeks
  11. 11

    Find four elements that sum to a given value

    Open on GeeksforGeeks
  12. 12

    Maximum sum such that no 2 elements are adjacent

    Open on GeeksforGeeks
  13. 13

    Count triplet with sum smaller than a given value

    Open on GeeksforGeeks
  14. 14

    Merge 2 sorted arrays

    Open on GeeksforGeeks
  15. 15

    Print all subarrays with 0 sum

    Open on GeeksforGeeks
  16. 16

    Product array Puzzle

    Open on GeeksforGeeks
  17. 17

    Sort array according to count of set bits

    Open on GeeksforGeeks
  18. 18

    Minimum no. of swaps required to sort the array

    Open on GeeksforGeeks
  19. 19

    Bishu and Soldiers

    Open on hackerearth.com
  20. 20

    Rasta and Kheshtak

    Open on hackerearth.com
  21. 21

    Kth smallest number again

    Open on hackerearth.com
  22. 22

    Find pivot element in a sorted array

    Open on theoryofprogramming.com
  23. 23

    K-th Element of Two Sorted Arrays

    Open on GeeksforGeeks
  24. 24

    Aggressive cows

    Open on spoj.com
  25. 25

    Book Allocation Problem

    Open on GeeksforGeeks
  26. 26

    EKOSPOJ:

    Open on spoj.com
  27. 27

    Job Scheduling Algo

    Open on GeeksforGeeks
  28. 28

    Missing Number in AP

    Open on GeeksforGeeks
  29. 29

    Smallest number with atleastn trailing zeroes infactorial

    Open on GeeksforGeeks
  30. 30

    Painters Partition Problem:

    Open on GeeksforGeeks
  31. 31

    ROTI-Prata SPOJ

    Open on spoj.com
  32. 32

    DoubleHelix SPOJ

    Open on spoj.com
  33. 33

    Subset Sums

    Open on spoj.com
  34. 34

    Findthe inversion count

    Open on GeeksforGeeks
  35. 35

    Implement Merge-sort in-place

    Open on GeeksforGeeks
  36. 36

    Partitioning and Sorting Arrays with Many Repeated Entries

    Open on baeldung.com