Oct 20, 2025
Difficulty: Medium
Category: Tree, DFS, BFS, Graph
leetcodealgorithmmediumtreedfsbfsgraph
Oct 20, 2025
Difficulty: Hard
Category: Stack, Monotonic Stack
leetcodealgorithmhardstackmonotonic-stack
Oct 20, 2025
Difficulty: Medium
Category: DFS, Graph, Matrix
leetcodealgorithmmediumdfsgraphmatrix
Oct 20, 2025
Difficulty: Medium
Category: Run-Length Encoding, Two Pointers, Array Processing
leetcodealgorithmmediumrun-length-encodingtwo-pointersarray-processing
Oct 20, 2025
Given two sparse vectors, compute their dot product.
leetcodealgorithmmediumjavahash-mapdata-structureoptimizationproblem-solving
Oct 20, 2025
You are given two integer arrays nums1 and nums2. You are tasked to implement a data structure that supports the following operations:
leetcodealgorithmmediumjavahash-mapdata-structureproblem-solving
Oct 20, 2025
Given the root of a binary tree and an integer targetSum, return the number of paths where the sum of the values along the path equals targetSum.
leetcodealgorithmmediumjavatreedfsrecursionproblem-solving
Oct 20, 2025
Given an encoded string, return its decoded string.
leetcodealgorithmmediumjavastackstring-processingproblem-solving
Oct 19, 2025
There is an m x n rectangular island that borders both the Pacific Ocean and the Atlantic Ocean. The Pacific Ocean touches the island’s left and top edges, and the...
leetcodealgorithmmediumjavadfsbfsgraphproblem-solving
Oct 19, 2025
You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] = [hi, ki] represents the ith...
leetcodealgorithmmediumjavagreedysortinglistproblem-solving