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
Feb 6, 2026
Given an array of meeting time intervals where intervals[i] = [starti, endi], determine if a person could attend all meetings.
leetcodeeasyarraysortingintervals
Feb 5, 2026
There are n flights labeled from 1 to n. You are given an array of flight bookings where bookings[i] = [firsti, lasti, seatsi] represents a booking for flights firsti through...
leetcodemediumarrayprefix-sumdifference-array
Feb 4, 2026
There are n cities connected by some number of flights. You are given an array flights where flights[i] = [fromi, toi, pricei] indicates that there is a flight from city...
leetcodemediumgraphshortest-pathdynamic-programmingbellman-ford
Feb 3, 2026
You are given a network of n nodes, labeled from 1 to n. You are also given times, a list of travel times as directed edges times[i] = (ui, vi,...
leetcodemediumgraphshortest-pathdijkstra
Feb 2, 2026
Given an integer array nums and an integer k, return the number of non-empty subarrays that have a sum divisible by k.
leetcodemediumarrayhash-tableprefix-sum
Feb 2, 2026
This is an interactive problem.
leetcodehardarraystringinteractiveminmax