1. Find Smallest Letter Greater Than Targethistorical

    Find the smallest letter greater than the target in a cyclically ordered character list.

  2. Trapping Rain Waterhistorical

    LeetCode notes on the Trapping Rain Water problem.

  3. Container With Most Waterhistorical

    LeetCode notes on the Container With Most Water problem.

  4. Queue Reconstruction by Heighthistorical

    Sort first and then insert by position to reconstruct a queue described by height and preceding-person counts.

  5. Largest Numberhistorical

    Rearrange non-negative integers so their concatenation forms the largest integer.

  6. String Permutationshistorical

    Generate all string permutations using recursive backtracking, deduplicate them, and sort them lexicographically.

  7. Top K Frequent Elementshistorical

    Find the top K frequent elements using frequency counting with sorting or a min-heap.

  8. Majority Elementhistorical

    Find the majority element using a counting map or candidate cancellation.

  9. Single Numberhistorical

    Find the element that appears only once using counting or XOR.

  10. Move Zeroeshistorical

    Move all zeroes to the end of the array while preserving the relative order of non-zero elements.