Feb 12, 2026
Problem
leetcodemediumsliding-windowmonotonic-queue
Feb 11, 2026
Given an integer array nums, return true if you can partition the array into two subsets such that the sum of the elements in both subsets is equal or false...
leetcodemediumdynamic-programming
Feb 11, 2026
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
leetcodemediumstack
Feb 10, 2026
There is a dungeon with n x m rooms arranged as a grid.
leetcodemediumgraphshortest-pathdijkstragrid
Feb 10, 2026
There is a dungeon with n x m rooms arranged as a grid.
leetcodemediumgraphshortest-pathdijkstragrid
Feb 9, 2026
A message containing letters from A-Z can be encoded into numbers using the following mapping:
leetcodemediumdynamic-programming
Feb 9, 2026
There are n people standing in a queue numbered from 0 to n - 1 from left to right. You are given an array heights of distinct integers where heights[i]...
leetcodehardstackmonotonic-stack
Feb 8, 2026
There exists an undirected tree with n nodes numbered 0 to n-1. You are given a 2D integer array edges of length n-1, where edges[i] = [ui, vi, lengthi] indicates...
leetcodemediumgraphshortest-pathdijkstra
Feb 8, 2026
You have numCourses courses labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] means you must take course bi before course...
leetcodemediumgraphtopological-sort
Feb 7, 2026
You have infinitely many lakes, all initially empty. When it rains on lake n, that lake becomes full. If it rains on a lake that is already full, a flood...
leetcodemediumarraygreedybinary-searchset