Huachen Wang

LeetCode Study Note | Problem 200: Number of Islands

🌊 Problem Summary You are given a 2D grid consisting of '1's (land) and '0's (water). An island is formed by connecting adjacent lands horizontally o

Administrator Administrator Published on 2025-05-17

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