top of page

Sorting & Search

11 problems · Easy to Medium · Binary search and sorting

Sorting and searching are foundational skills that underpin solutions to hundreds of other problems. This track starts with a refresher on sorting and search algorithms, then applies binary search across a range of problem types — from classic sorted array search to rotated arrays, merge problems, and order-statistic queries like Kth Largest and Top K Frequent.

Why it matters:

Binary search is one of the most frequently tested patterns in technical interviews, and it appears in far more contexts than just "search a sorted array." Interviewers use it to test whether candidates can identify implicit sorted structure in a problem and apply logarithmic thinking — a signal of strong algorithmic intuition.

01

Sorting Algorithms: A Refresher

02

Search Algorithms: A Refresher

03

Binary Search

04

Search Insert Position

05

First Bad Version

06

Search in a Rotated Sorted Array

07

Sort Colors (Dutch National Flag) Problem

08

Merge Two Sorted Arrays

09

Intersection of Two Arrays

10

Kth Largest Element in an Array

11

Top K Frequent Elements

Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2026 by WhiteboardReady

bottom of page