Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 Sorting Interview Questions

The most frequently asked Sorting questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
984companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 49 questions · ~1220 min
Merge Two Sorted ArraysEasy
Practice
Recently asked

Merge two sorted arrays into one sorted array using a two-pointer linear scan.

ArraysSortingTwo PointersDropboxTetraScienceBooking
Find Two Sum IndicesEasy
Practice
Recently asked

Use a hash map to find two array elements that sum to a target in O(n) time.

Hash TablesArraysSortingEtsyLLuxoft SingaporeNeoDocto
Merge Two Sorted Linked ListsEasy
Practice
Recently asked

Merge two sorted singly linked lists into one sorted list by relinking existing nodes.

RecursionLinked ListsSortingExpedia GroupNeoDoctoOtter
LRU Cache for Fast RetrievalMedium
Practice
Recently asked

Implement an LRU cache using a hash map and doubly linked list to support O(1) get and put operations.

Hash TablesSearchingSortingWorldQuantScout MotorsTwitch
Merge Overlapping IntervalsMedium
Practice
Recently asked

Sort intervals by start time, then merge overlapping ranges into a minimal non-overlapping list.

ArraysSearchingSortingAnthropicJustworksXero
Sorting Integers FunctionEasy
Practice
Recently asked

Sort an integer array in ascending order and return the sorted result.

ArraysSortingBread FinancialTATA ELXSIOracle
Sorting Algorithm and ComplexityEasy
Practice
Recently asked

Implement merge sort in Python and explain why it runs in O(n log n) time.

RecursionArraysSortingTrend MicroKaniniDataEconomy
More Coding questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
More topics1 question · ~25 min
Second Highest Trader SalaryEasy
Practice
Recently asked

Find the second highest distinct salary from a single table using basic PostgreSQL ordering and limiting.

SubqueriesRankingSortingeClinicalWorksNNeenOpal CanadaInformatica
Hands-on SQL practiceWrite and run real queries in the editor. 2 drills · ~20 min
The finish line: interview-readyComplete all 50 questions plus 2 hands-on drills to finish this plan.