Huachen Wang

LeetCode Study Note | Problem 128: Longest Consecutive Sequence

📌 Problem Summary Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Time complexity must be O(n). Ex

Administrator Administrator Published on 2025-05-12

LeetCode Study Note | Problem 49: Group Anagrams

🧩 Problem Summary Given an array of strings, group the anagrams together. Anagram: A word formed by rearranging the letters of another word (e.g., "e

Administrator Administrator Published on 2025-05-12

LeetCode Study Note | Problem 2: Add Two Numbers

🧠 Problem Summary Given two non-empty linked lists representing two non-negative integers in reverse order (each node contains a single digit), retur

Administrator Administrator Published on 2025-05-11

LeetCode Study Note | Problem 42: Trapping Rain Water

🔍 Problem Description Given a non-negative integer array height[] representing the elevation map where the width of each bar is 1, compute how much w

Administrator Administrator Published on 2025-05-11

LeetCode Study Note | Problem 53: Maximum Subarray

Problem Overview Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its s

Administrator Administrator Published on 2025-05-10

LeetCode Study Note | Problem 3: Longest Substring Without Repeating Characters

Problem Overview Given a string s, find the length of the longest substring without repeating characters. Example: Input: "abcabcbb" Output: 3 Explana

Administrator Administrator Published on 2025-05-07
Previous Next