Feb 1, 2026
Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
leetcodemediumarrayhash-tableprefix-sum
Feb 1, 2026
Given an integer array nums and an integer k, return the maximum length of a subarray that sums to k. If there is no such subarray, return 0.
leetcodemediumarrayhash-tableprefix-sum
Feb 1, 2026
Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and '*' where:
leetcodehardstringdynamic-programminggreedytwo-pointers
Jan 30, 2026
Design a time-based key-value data structure that can store multiple values for the same key at different timestamps and retrieve the key’s value at a certain timestamp.
leetcodemediumhash-tablebinary-searchdesign
Jan 30, 2026
Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
leetcodemediumarraybinary-search
Jan 30, 2026
A peak element is an element that is strictly greater than its neighbors.
leetcodemediumarraybinary-search
Jan 30, 2026
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it...
leetcodeeasyarraybinary-search
Jan 29, 2026
Given an array of integers temperatures representing the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the i-th day...
leetcodemediumarraystackmonotonic-stack
Jan 28, 2026
Design a data structure that can query the frequency of a given value in a given subarray.
leetcodemediumarrayhash-mapbinary-searchdesign
Jan 27, 2026
Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i].
leetcodemediumarrayprefix-sumtwo-pointers