π Problem Overview You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, but adjacen
Problem Summary You are given numCourses courses labeled from 0 to numCourses - 1, and a list of prerequisites where each element is a pair [a, b] mea
π Problem Overview Youβre given an m x n grid, where: 0 represents an empty cell 1 represents a fresh orange 2 represents a rotten orange Each minute
π 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
β¨ 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