Problems
Callback's own problems and the LeetCode questions companies have been asking, in one place — pick a category, then filter by company, frequency, status, difficulty, topic, and language.
- Merge Sort13
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Algorithms & Data Structures · Split in half, sort each half, merge with two indices — stable, O(n log n), and the merge is the whole interview.
Asked on LeetCode
12 questions tagged Merge Sort · all time
- Merge k Sorted ListshardLinked ListDivide and ConquerHeap (Priority Queue)Merge Sort+129 companies
- Reverse PairshardArrayBinary SearchDivide and ConquerBinary Indexed Tree+47 companies
- Sort ListmediumLinked ListTwo PointersDivide and ConquerSorting+17 companies
- Sort an ArraymediumArrayDivide and ConquerSortingHeap (Priority Queue)+46 companies
- Count of Smaller Numbers After SelfhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+45 companies
- Count Subarrays With Majority Element ImediumArrayHash TableDivide and ConquerSegment Tree+35 companies
- Count of Range SumhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+43 companies
- Number of Pairs Satisfying InequalityhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+33 companies
- Count Good Triplets in an ArrayhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+33 companies
- Count Subarrays With Majority Element IIhardArrayHash TableDivide and ConquerSegment Tree+22 companies
- Count the Number of K-Big IndiceshardArrayBinary SearchDivide and ConquerBinary Indexed Tree+31 company
- Count Subarrays With More Ones Than ZerosmediumArrayHash TableBinary SearchDivide and Conquer+41 company
Listings only — titles, difficulty, and tags link out to LeetCode. Imported from the leetcode-company-wise-problems snapshot dated 1 June 2025. Frequency is that dataset's own relative score within a company and time range.