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
Feb 6, 2026
Koko has n piles of bananas; the i-th pile has piles[i] bananas. The guards return in h hours. Koko can choose an integer eating speed k (bananas per hour). Each...
leetcodemediumarraybinary-search
Feb 6, 2026
Given an array of integers nums and an integer k, return the number of unique k-diff pairs in the array.
leetcodemediumarrayhash-table
Feb 6, 2026
You are given an integer eventTime (the event runs from time 0 to eventTime) and two arrays startTime and endTime representing n non-overlapping meetings. You may reschedule at most k...
leetcodemediumarrayintervalssliding-windowprefix-sum