Huachen Wang

Archives

2025 / 05

✨ Problem Description Given an integer array nums, return all the unique triplets [nums[i], nums[j], nums[k]] such that i β‰  j β‰  k, and nums[i] + nums[
🧩 Problem Description Given an integer array nums, move all 0’s to the end of it while maintaining the relative order of the non-zero elements. Examp
πŸ“Œ Problem Summary Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Time complexity must be O(n). Ex
🧩 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
🧠 Problem Summary Given two non-empty linked lists representing two non-negative integers in reverse order (each node contains a single digit), retur
πŸ” 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
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
Problem Overview Given a string s, find the length of the longest substring without repeating characters. Example: Input: "abcabcbb" Output: 3 Explana

2025 / 01

πŸš€ The universal signal reception station is now online. Welcome to Huachen’s cosmos! πŸš€ β€œπ‚π¨π§π§πžπœπ­π’π§π  𝐭𝐨 𝐭𝐑𝐞 ππžπ­π°π¨π«π€β€¦ βœ… πƒπšπ­πš