TwoPointers

an archive of posts with this tag

Apr 06, 2025 795. Number of Subarrays with Bounded Maximum
Apr 06, 2025 2444. Count Subarrays With Fixed Bounds
Apr 04, 2025 2367. Number of Arithmetic Triplets
Apr 04, 2025 (Review)2563. Count the Number of Fair Pairs
Mar 31, 2025 1898. Maximum Number of Removable Characters
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 23, 2025 392. Is Subsequence
Mar 21, 2025 Interview Question 16.06. Smallest Difference
Mar 19, 2025 2337. Move Pieces to Obtain a String
Mar 17, 2025 3467. Transform Array by Parity
Mar 09, 2025 925. Long Pressed Name
Mar 09, 2025 1385. Find the Distance Value Between Two Arrays
Mar 08, 2025 2540. Minimum Common Value
Mar 08, 2025 1855. Maximum Distance Between a Pair of Values
Mar 08, 2025 1089. Duplicate Zeros
Mar 08, 2025 LCP 18. Breakfast Combination
Mar 07, 2025 905. Sort Array By Parity
Mar 07, 2025 27. Remove Element
Mar 05, 2025 581. Shortest Unsorted Continuous Subarray
Mar 02, 2025 2570. Merge Two 2D Arrays by Summing Values
Mar 01, 2025 1574. Shortest Subarray to be Removed to Make Array Sorted
Mar 01, 2025 2460. Apply Operations to an Array
Feb 27, 2025 1498. Number of Subsequences That Satisfy the Given Sum Condition
Feb 26, 2025 1616. Split Two Strings to Make Palindrome
Feb 25, 2025 948. Bag of Tokens
Feb 24, 2025 923. 3Sum With Multiplicity
Feb 23, 2025 611. Valid Triangle Number
Feb 23, 2025 LCP 28. Procurement Plan
Feb 23, 2025 18. 4Sum
Feb 22, 2025 633. Sum of Square Numbers
Feb 22, 2025 2824. Count Pairs Whose Sum is Less than Target
Feb 21, 2025 1471. The k Strongest Values in an Array
Feb 20, 2025 2105. Watering Plants II
Feb 18, 2025 344. Reverse String
Feb 18, 2025 1750. Minimum Length of String After Deleting Similar Ends
Feb 09, 2025 80. Remove Duplicates from Sorted Array II
Feb 04, 2025 922. Sort Array By Parity II
Dec 15, 2024 658. Find K Closest Elements
Nov 14, 2024 26. Remove Duplicates from Sorted Array
Nov 13, 2024 16. 3Sum Closest
Nov 12, 2024 88.Merge Sorted Array
Oct 26, 2024 283.Move Zeroes
Oct 06, 2024 42.Trapping Rain Water
Feb 13, 2024 15.3Sum
Feb 12, 2024 977. Squares of a Sorted Array
Feb 11, 2024 167. Two Sum II - Input Array Is Sorted
Feb 10, 2024 11.Container With Most Water
Feb 09, 2024 125. Valid Palindrome