Medium

an archive of posts with this tag

Apr 01, 2025 2140. Solving Questions With Brainpower
Mar 31, 2025 1898. Maximum Number of Removable Characters
Mar 30, 2025 763. Partition Labels
Mar 30, 2025 2109. Adding Spaces to a String
Mar 28, 2025 1023. Camelcase Matching
Mar 27, 2025 2825. Make String a Subsequence Using Cyclic Increments
Mar 26, 2025 2486. Append Characters to String to Make Subsequence
Mar 23, 2025 524. Longest Word in Dictionary through Deleting
Mar 21, 2025 Interview Question 16.06. Smallest Difference
Mar 19, 2025 2337. Move Pieces to Obtain a String
Mar 17, 2025 1963. Minimum Number of Swaps to Make the String Balanced
Mar 09, 2025 2070. Most Beautiful Item for Each Query
Mar 05, 2025 2965. Find Missing and Repeated Values
Mar 05, 2025 581. Shortest Unsorted Continuous Subarray
Mar 05, 2025 2579. Count Total Number of Colored Cells
Mar 05, 2025 1328. Break a Palindrome
Mar 04, 2025 1780. Check if Number is a Sum of Powers of Three
Mar 03, 2025 2161. Partition Array According to Given Pivot
Mar 01, 2025 1574. Shortest Subarray to be Removed to Make Array Sorted
Mar 01, 2025 131. Palindrome Partitioning
Feb 27, 2025 1498. Number of Subsequences That Satisfy the Given Sum Condition
Feb 26, 2025 1616. Split Two Strings to Make Palindrome
Feb 26, 2025 1749. Maximum Absolute Sum of Any Subarray
Feb 26, 2025 1472. Design Browser History
Feb 25, 2025 1524. Number of Sub-arrays With Odd Sum
Feb 25, 2025 948. Bag of Tokens
Feb 24, 2025 923. 3Sum With Multiplicity
Feb 23, 2025 611. Valid Triangle Number
Feb 23, 2025 18. 4Sum
Feb 22, 2025 633. Sum of Square Numbers
Feb 21, 2025 1471. The k Strongest Values in an Array
Feb 20, 2025 2105. Watering Plants II
Feb 20, 2025 1980. Find Unique Binary String
Feb 19, 2025 624. Maximum Distance in Arrays
Feb 19, 2025 2375. Construct Smallest Number From DI String
Feb 18, 2025 1750. Minimum Length of String After Deleting Similar Ends
Feb 16, 2025 (Review)1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Feb 15, 2025 1706. Where Will the Ball Fall
Feb 14, 2025 1352. Product of the Last K Numbers
Feb 13, 2025 1248. Count Number of Nice Subarrays
Feb 13, 2025 930. Binary Subarrays With Sum
Feb 12, 2025 LCP 68. Beautiful Bouquet
Feb 10, 2025 1910. Remove All Occurrences of a Substring
Feb 09, 2025 80. Remove Duplicates from Sorted Array II
Feb 09, 2025 2364. Count Number of Bad Pairs
Feb 08, 2025 3258. Count Substrings That Satisfy K-Constraint I
Feb 07, 2025 713. Subarray Product Less Than K
Feb 07, 2025 59. Spiral Matrix II
Feb 06, 2025 (Review)2537. Count the Number of Good Subarrays
Feb 05, 2025 2799. Count Complete Subarrays in an Array
Feb 04, 2025 3325. Count Substrings With K-Frequency Characters I
Feb 03, 2025 1358. Number of Substrings Containing All Three Characters
Feb 03, 2025 2962. Count Subarrays Where Max Element Appears at Least K Times
Feb 01, 2025 81. Search in Rotated Sorted Array II
Feb 01, 2025 1234. Replace the Substring for Balanced String
Jan 31, 2025 (Review)2904. Shortest and Lexicographically Smallest Beautiful String
Jan 31, 2025 541. Reverse String II
Jan 31, 2025 209. Minimum Size Subarray Sum
Jan 28, 2025 2658. Maximum Number of Fish in a Grid
Jan 27, 2025 45. Jump Game II
Jan 27, 2025 1462. Course Schedule IV
Jan 26, 2025 40. Combination Sum II
Jan 24, 2025 (Review) 2944. Minimum Number of Coins for Fruits
Jan 24, 2025 2555. Maximize Win From Two Segments
Jan 24, 2025 802. Find Eventual Safe States
Jan 23, 2025 2271. Maximum White Tiles Covered by a Carpet
Jan 23, 2025 2831. Find the Longest Equal Subarray
Jan 23, 2025 1267. Count Servers that Communicate
Jan 22, 2025 2516. Take K of Each Character From Left and Right
Jan 22, 2025 1561. Maximum Number of Coins You Can Get
Jan 22, 2025 1765. Map of Highest Peak
Jan 21, 2025 2017. Grid Game
Jan 21, 2025 1838. Frequency of the Most Frequent Element
Jan 20, 2025 1658. Minimum Operations to Reduce X to Zero
Jan 20, 2025 2661. First Completely Painted Row or Column
Jan 19, 2025 1004. Max Consecutive Ones III
Jan 19, 2025 2266. Count Number of Texts
Jan 18, 2025 2779. Maximum Beauty of an Array After Applying Operation
Jan 18, 2025 2024. Maximize the Confusion of an Exam
Jan 17, 2025 (Review)3097. Shortest Subarray With OR at Least K II
Jan 17, 2025 2683. Neighboring Bitwise XOR
Jan 17, 2025 2958. Length of Longest Subarray With at Most K Frequency
Jan 16, 2025 1695. Maximum Erasure Value
Jan 16, 2025 2425. Bitwise XOR of All Pairings
Jan 15, 2025 3066. Minimum Operations to Exceed Threshold Value II
Jan 15, 2025 2429. Minimize XOR
Jan 15, 2025 904. Fruit Into Baskets
Jan 14, 2025 2657. Find the Prefix Common Array of Two Arrays
Jan 13, 2025 3223. Minimum Length of String After Operations
Jan 13, 2025 1208. Get Equal Substrings Within Budget
Jan 13, 2025 2730. Find the Longest Semi-Repetitive Substring
Jan 12, 2025 1493. Longest Subarray of 1's After Deleting One Element
Jan 12, 2025 2275. Largest Combination With Bitwise AND Greater Than Zero
Jan 12, 2025 2116. Check if a Parentheses String Can Be Valid
Jan 11, 2025 3. Longest Substring Without Repeating Characters
Jan 11, 2025 1400. Construct K Palindrome Strings
Jan 10, 2025 916. Word Subsets
Jan 09, 2025 3297. Count Substrings That Can Be Rearranged to Contain a String I
Jan 08, 2025 1016. Binary String With Substrings Representing 1 To N
Jan 06, 2025 1769. Minimum Number of Operations to Move All Balls to Each Box
Jan 06, 2025 2274. Maximum Consecutive Floors Without Special Floors
Jan 05, 2025 2381. Shifting Letters II
Jan 05, 2025 2241. Design an ATM Machine
Jan 04, 2025 1930. Unique Length-3 Palindromic Subsequences
Jan 03, 2025 567.Permutation in String
Jan 03, 2025 2270. Number of Ways to Split Array
Jan 03, 2025 731. My Calendar II
Jan 03, 2025 438. Find All Anagrams in a String
Jan 02, 2025 729. My Calendar I
Jan 02, 2025 1888. Minimum Number of Flips to Make the Binary String Alternating
Jan 02, 2025 2559. Count Vowel Strings in Ranges
Jan 01, 2025 2653. Sliding Subarray Beauty
Dec 31, 2024 2134. Minimum Swaps to Group All 1's Together II
Dec 30, 2024 1297. Maximum Number of Occurrences of a Substring
Dec 30, 2024 1367. Linked List in Binary Tree
Dec 29, 2024 1366. Rank Teams by Votes
Dec 28, 2024 1423. Maximum Points You Can Obtain from Cards
Dec 27, 2024 2461. Maximum Sum of Distinct Subarrays With Length K
Dec 27, 2024 3159. Find Occurrences of an Element in an Array
Dec 27, 2024 1014. Best Sightseeing Pair
Dec 26, 2024 2841. Maximum Sum of Almost Unique Subarray
Dec 25, 2024 515. Find Largest Value in Each Tree Row
Dec 25, 2024 1461. Check If a String Contains All Binary Codes of Size K
Dec 24, 2024 1705. Maximum Number of Eaten Apples
Dec 24, 2024 1052. Grumpy Bookstore Owner
Dec 23, 2024 2471. Minimum Number of Operations to Sort a Binary Tree by Level
Dec 22, 2024 1387. Sort Integers by The Power Value
Dec 22, 2024 2090. K Radius Subarray Averages
Dec 21, 2024 1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Dec 20, 2024 2415. Reverse Odd Levels of Binary Tree
Dec 20, 2024 3138. Minimum Length of Anagram Concatenation
Dec 19, 2024 1456. Maximum Number of Vowels in a Substring of Given Length
Dec 19, 2024 769. Max Chunks To Make Sorted
Dec 18, 2024 7. Reverse Integer
Dec 18, 2024 1475. Final Prices With a Special Discount in a Shop
Dec 17, 2024 885. Spiral Matrix III
Dec 17, 2024 2182. Construct String With Repeat Limit
Dec 16, 2024 50. Pow(x, n)
Dec 15, 2024 1338. Reduce Array Size to The Half
Dec 15, 2024 1792. Maximum Average Pass Ratio
Dec 15, 2024 658. Find K Closest Elements
Dec 14, 2024 2762. Continuous Subarrays
Dec 13, 2024 670. Maximum Swap
Dec 13, 2024 2593. Find Score of an Array After Marking All Elements
Dec 10, 2024 935. Knight Dialer
Dec 10, 2024 2981. Find Longest Special Substring That Occurs Thrice I
Dec 10, 2024 38. Count and Say
Dec 09, 2024 468. Validate IP Address
Dec 09, 2024 3152. Special Array II
Dec 08, 2024 8. String to Integer (atoi)
Dec 06, 2024 498. Diagonal Traverse
Dec 05, 2024 3001. Minimum Moves to Capture The Queen
Dec 02, 2024 636. Exclusive Time of Functions
Dec 01, 2024 394. Decode String
Nov 13, 2024 16. 3Sum Closest
Oct 21, 2024 122. Best Time to Buy and Sell Stock II
Feb 27, 2024 424. Longest Repeating Character Replacement
Feb 10, 2024 11.Container With Most Water