Sorting Problems
Sorting problems go beyond knowing the algorithms — they test when to sort, what to sort by, and how to use sorted order as a tool for solving other problems.
14 problems
| Title | Difficulty |
|---|---|
| 3Sum | Medium |
| Chocolate Distribution | Easy |
| Minimum Cost to Equalize an Array | Medium |
| Maximum Number of Visible Points | Medium |
| Maximum Product of Three Numbers | Easy |
| Minimum Cost to Hire K Workers | Hard |
| Minimum Swaps to Sort an Array | Hard |
| Pair Arrays to Meet a Minimum Sum | Easy |
| Contact Suggestions by Prefix | Medium |
| Group Anagrams | Medium |
| Radix Sort | Medium |
| Aggressive Cows | Hard |
| Vertical Order Traversal of a Binary Tree | Hard |
| Weighted Job Scheduling | Medium |
Browse by Topic
ArrayBFSBacktrackingBinary SearchBinary Search TreeBinary TreeBit ManipulationBitmaskBoyer-Moore VotingCombinatoricsDFSDesignDivide and ConquerDynamic ProgrammingGeometryGraphGreedyHash TableHeapInorder TraversalInterval DPIteratorLinked ListMathMatrixMemoizationMerge SortMinimum Spanning TreeMonotonic QueueMonotonic StackPermutation CyclesPostorder TraversalPrefix SumQueueRadix SortRecursionShortest PathSimulationSliding WindowSortingSorting&SearchingStackStack&QueueStringString MatchingStrongly Connected ComponentsTopological SortTreeTrieTriesTwo PointersUnion Find