1. First Non-Repeating Character in a Character Streamhistorical

    Use a map to count character occurrences while preserving input order to find the first character that appears only once in a stream.

  2. Subarray Sum Equals Khistorical

    LeetCode notes on the brute-force solution for Subarray Sum Equals K.

  3. Left Rotate Stringhistorical

    Record two implementations of cyclic left rotation of a string: slicing and concatenation, and three reversals.

  4. Maximal Squarehistorical

    LeetCode notes on the brute-force solution for Maximal Square.

  5. Poker Straighthistorical

    Sort five cards, treat jokers as 0, and use the gaps between non-zero cards to determine whether they can form a straight.

  6. Daily Temperatureshistorical

    LeetCode notes on the brute-force solution for Daily Temperatures.

  7. Replace Spaceshistorical

    Record two implementations for replacing spaces with %20: character-by-character concatenation and preallocated storage.

  8. Daily Temperatureshistorical

    LeetCode notes on Daily Temperatures with brute force and a monotonic stack.

  9. Print Linked List from Tail to Headhistorical

    Record recursive and stack-based methods for outputting a linked list from tail to head.

  10. Sliding Window Maximumhistorical

    LeetCode notes on Sliding Window Maximum using brute force, a priority queue, and a monotonic deque.