3138. Minimum Length of Anagram Concatenation Problem You are given a string s, which is known to be a concatenation of anagrams of some string t. Return the minimum possi... 2024-12-20 medium
337. House Robber III Problem The thief has found himself a new place for his thievery again. There is only one entrance to this area, called root.... 2024-12-19 medium
43. Multiply Strings Problem Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also repre... 2024-12-19 medium
3389. Minimum Operations to Make Character Frequencies Equal Problem You are given a string s. A string t is called good if all characters of t occur the same number of times. You can pe... 2024-12-19 hard
769. Max Chunks To Make Sorted Problem You are given an integer array arr of length n that represents a permutation of the integers in the range [0, n - 1].... 2024-12-19 medium
3285. Find Indices of Stable Mountains Problem There are n mountains in a row, and each mountain has a height. You are given an integer array height where height[i]... 2024-12-19 easy
714. Best Time to Buy and Sell Stock with Transaction Fee Problem You are given an array prices where prices[i] is the price of a given stock on the iᵗʰ day, and an integer fee repres... 2024-12-18 medium
309. Best Time to Buy and Sell Stock with Cooldown Problem You are given an array prices where prices[i] is the price of a given stock on the iᵗʰ day. Find the maximum profit y... 2024-12-18 medium
188. Best Time to Buy and Sell Stock IV Problem You are given an integer array prices where prices[i] is the price of a given stock on the iᵗʰ day, and an integer k.... 2024-12-18 hard
739. Daily Temperatures Problem Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i]... 2024-12-18 medium
503. Next Greater Element II Problem Given a circular integer array nums (i.e., the next element of nums[nums.length - 1] is nums[0]), return the next gre... 2024-12-18 medium
496. Next Greater Element I Problem The next greater element of some element x in an array is the first greater element that is to the right of x in the ... 2024-12-18 easy
1475. Final Prices With a Special Discount in a Shop Problem You are given an integer array prices where prices[i] is the price of the iᵗʰ item in a shop. There is a special disc... 2024-12-18 easy
3213. Construct String with Minimum Cost Problem You are given a string target, an array of strings words, and an integer array costs, both arrays of the same length.... 2024-12-17 hard difficult
3292. Minimum Number of Valid Strings to Form Target II 3291. Minimum Number of Valid Strings to Form Target I 的进阶版,题目一模一样,但 words 的长度从 5 * 10³ 增加到 5 * 10⁵,target 的长度从 5 * 10³ 增加到 5... 2024-12-18 hard
3291. Minimum Number of Valid Strings to Form Target I Problem You are given an array of strings words and a string target. A string x is called valid if x is a prefix of any strin... 2024-12-18 medium hard
2182. Construct String With Repeat Limit Problem You are given a string s and an integer repeatLimit. Construct a new string repeatLimitedString using the characters ... 2024-12-17 medium
1847. Closest Room Problem There is a hotel with n rooms. The rooms are represented by a 2D integer array rooms where rooms[i] = [roomIdᵢ, sizeᵢ... 2024-12-26 hard
123. Best Time to Buy and Sell Stock III Problem You are given an array prices where prices[i] is the price of a given stock on the iᵗʰ day. Find the maximum profit y... 2024-12-18 hard
122. Best Time to Buy and Sell Stock II Problem You are given an integer array prices where prices[i] is the price of a given stock on the iᵗʰ day. On each day, you ... 2024-12-18 medium
1792. Maximum Average Pass Ratio Problem There is a school that has classes of students and each class will be having a final exam. You are given a 2D integer... 2024-12-15 medium
1338. Reduce Array Size to The Half Problem You are given an integer array arr. You can choose a set of integers and remove all the occurrences of these integers... 2024-12-15 medium
2809. Minimum Time to Make Array Sum At Most x Problem You are given two 0-indexed integer arrays nums1 and nums2 of equal length. Every second, for all indices 0 <= i &... 2024-12-14 hard difficult
2762. Continuous Subarrays Problem You are given a 0-indexed integer array nums. A subarray of nums is called continuous if: Let i, i + 1, …, j be the ... 2024-12-14 medium
3266. Final Array State After K Multiplication Operations II Problem You are given an integer array nums, an integer k, and an integer multiplier. You need to perform k operations on num... 2024-12-14 hard
2593. Find Score of an Array After Marking All Elements Problem You are given an array nums consisting of positive integers. Starting with score = 0, apply the following algorithm: ... 2024-12-13 medium
3264. Final Array State After K Multiplication Operations I Problem You are given an integer array nums, an integer k, and an integer multiplier. You need to perform k operations on num... 2024-12-13 easy
2558. Take Gifts From the Richest Pile Problem You are given an integer array gifts denoting the number of gifts in various piles. Every second, you do the followin... 2024-12-12 easy
2931. Maximum Spending After Buying Items Problem You are given a 0-indexed m * n integer matrix values, representing the values of m * n different items in m differen... 2024-12-12 hard
2699. Modify Graph Edge Weights Problem You are given an undirected weighted connected graph containing n nodes labeled from 0 to n - 1, and an integer array... 2024-12-11 hard difficult
2779. Maximum Beauty of an Array After Applying Operation Problem You are given a 0-indexed array nums and a non-negative integer k. In one operation, you can do the following: Choos... 2024-12-11 medium
2717. Semi-Ordered Permutation Problem You are given a 0-indexed permutation of n integers nums. A permutation is called semi-ordered if the first number eq... 2024-12-11 easy