Top 50
Topic roadmap
Updated weekly · Last refresh Nov 5

Top 50 time complexity Interview Questions

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

50questions
~21htotal time
186companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
time complexityStart here. 31 questions · ~775 min
Merge Overlapping Time IntervalsMedium
Practice
Recently asked

Merge overlapping intervals by sorting on start time, then scanning once to combine intersecting ranges.

time complexityAlgorithmsperformance analysisDatadogWurlFuku
Reverse Linked List ComplexityEasy
Practice
Recently asked

Reverse a singly linked list in place using pointer reassignment with O(n) time and O(1) extra space.

time complexityLinked ListsData StructuresSamsung ElectronicsADPOpen Systems Technologies
Merge Sort and ComplexityMedium
Practice
Recently asked

Implement stable merge sort for DMI records without mutating input, using O(n log n) time and O(n) auxiliary space.

time complexityDMIHashedInJio
String Manipulation Without LibrariesEasy
Practice
Recently asked

Reverse a character array in place using two pointers without built-in reversal functions.

time complexityBasic AlgorithmsStringsHHMH EducationShutterflyFDM Group
Palindrome Check With ComplexityEasy
Practice
Recently asked

Check whether a Decision Point QA string is a normalized palindrome using a constant-space two-pointer scan.

time complexityStringsTwo PointersDecision PointFirst Help FinancialAmerican Airlines
More time complexity questions with a free account
2
Hash Tables6 questions · ~150 min
Check If Two Strings Are AnagramsEasy
Practice
Recently asked

Determine whether two strings are anagrams using frequency counting in linear time.

Hash Tablestime complexityStringsHealth CatalystCatalyst LabsCatalist
O(1) Randomized SetMedium
Practice
Recently asked

Implement insert, delete, and random retrieval in O(1) using an array and hash map.

Hash Tablestime complexityArraysTuroSlackFactored
More Hash Tables questions with a free account
3
deduplication4 questions · ~100 min
More deduplication questions with a free account
4
binary search3 questions · ~75 min
More binary search questions with a free account
5
More topics6 questions · ~150 min
The finish line: interview-readyComplete all 50 questions to finish this plan.