Contest - LeetCode Enhance your coding abilities and get valuable real-world feedback by participating in contests on LeetCode You can also win up to 5000 LeetCoins per contest, as well as bonus prizes from sponsored companies
Account Login - LeetCode Level up your coding skills and quickly land a job This is the best place to expand your knowledge and get prepared for your next interview
Login - LeetCode Login to LeetCode Online Interview Login with LeetCode account or register
Array - LeetCode Level up your coding skills and quickly land a job This is the best place to expand your knowledge and get prepared for your next interview
Explore - LeetCode LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode No matter if you are a beginner or a master, there are always new topics waiting for you to explore
Longest Repeating Character Replacement - LeetCode Can you solve this real interview question? Longest Repeating Character Replacement - You are given a string s and an integer k You can choose any character of the string and change it to any other uppercase English character You can perform this operation at most k times Return the length of the longest substring containing the same letter you can get after performing the above operations
Assign Cookies - LeetCode Can you solve this real interview question? Assign Cookies - Assume you are an awesome parent and want to give your children some cookies But, you should give each child at most one cookie Each child i has a greed factor g[i], which is the minimum size of a cookie that the child will be content with; and each cookie j has a size s[j] If s[j] >= g[i], we can assign the cookie j to the child
Remove K Digits - LeetCode Can you solve this real interview question? Remove K Digits - Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num Example 1: Input: num = "1432219", k = 3 Output: "1219" Explanation: Remove the three digits 4, 3, and 2 to form the new number 1219 which is the smallest Example 2: Input: num = "10200
LRU Cache - LeetCode 1 Please don't post any solutions in this discussion 2 The problem discussion is for asking questions about the problem or for sharing tips - anything except for solutions 3 If you'd like to share your solution for feedback and ideas, please head to the solutions tab and post it there