Oct 18, 2025
The minimum product of a subarray is the minimum value in the subarray multiplied by the sum of the subarray.
leetcodealgorithmmediumjavastackmonotonic-stackprefix-sumproblem-solving
Oct 18, 2025
Given a string s, remove duplicate letters so that every letter appears once and only once. You must make sure your result is the smallest in lexicographical order among all...
leetcodealgorithmmediumjavastackmonotonic-stackgreedyproblem-solving
Oct 17, 2025
In English, we have a concept called root, which can be followed by some other word to form another longer word. Let’s call this word successor. For example, when the...
leetcodealgorithmmediumjavatriehash-setstring-processingproblem-solving
Oct 17, 2025
Given an integer array nums, return the length of the longest strictly increasing subsequence.
leetcodealgorithmmediumjavadynamic-programmingdpbinary-searchproblem-solving
Oct 17, 2025
Given a circular integer array nums (i.e., the next element of nums[nums.length - 1] is nums[0]), return the next greater number for every element in nums.
leetcodealgorithmmediumjavamonotonic-stackstackproblem-solving
Oct 17, 2025
You are given an integer array nums.
leetcodealgorithmmediumjavasliding-windowhash-mapproblem-solving
Oct 17, 2025
Given the integers zero, one, low, and high, we can construct a string by starting with an empty string, and then at each step perform either of the following:
leetcodealgorithmmediumjavadynamic-programmingdpproblem-solving
Oct 16, 2025
We are given hours, a list of the number of hours worked per day for a given employee.
leetcodealgorithmmediumjavahash-mapprefix-sumproblem-solving
Oct 15, 2025
You are given an integer array nums and an integer target.
leetcodealgorithmmediumjavadynamic-programmingdpsubset-sumproblem-solving
Oct 10, 2025
Given a string s, find the length of the longest substring without repeating characters.
leetcodealgorithmmediumjavasliding-windowhash-mapstringtwo-pointersproblem-solving