athk's blogs
Search
Search
Search
Dark mode
Light mode
Explorer
codeforces
I Wanna Be The Guy
Permutation Transformation
leetcode resources
1 Two Sum (pending)
3 Longest Substring Without Repeating Characters
5 Longest Palindromic Substring
11 Container With Most Water (pending)
15 3Sum
21 Merge Two Sorted Lists
23 Merge k Sorted Lists
33 Search in Rotated Sorted Array
42 Trapping Rain Water
46 Permutations
49 Group Anagrams
50 Pow(x, n)
53 Maximum Subarray
54 Spiral Matrix
55 Jump Game
56 Merge Intervals
62 Unique Paths
63 Unique Paths II
64 Minimum Path Sum
69 Sqrt(x)
70 Climbing Stairs
75 Sort Colors
78 Subsets
83 Remove Duplicates from Sorted List
102 Binary Tree Level Order Traversal
105 Construct Binary Tree from Preorder and Inorde
108 Convert Sorted Array to Binary Search Tree
110 Balanced Binary Tree
112 Path Sum
121 Best Time to Buy and Sell Stock
128 Longest Consecutive Sequence
129 Sum Root to Leaf Numbers
133 Clone Graph
138 Copy List with Random Pointer
139 Word Break
143 Reorder List
144 Binary Tree Preorder Traversal
152 Maximum Product Subarray
153 Find Minimum in Rotated Sorted Array
160 Intersection of Two Linked Lists
165 Compare Version Numbers
167 Two Sum II - Input Array Is Sorted
198 House Robber
199 Binary Tree Right Side View
200 Number of Islands
206 Reverse Linked List
207 Course Schedule
209 Minimum Size Subarray Sum
213 House Robber II
215 Kth Largest Element in an Array
226 Invert Binary Tree
230 Kth Smallest Element in a BST
235 Lowest Common Ancestor of a Binary Search Tree
238 Product of Array Except Self
278 First Bad Version
300 Longest Increasing Subsequence
310 Minimum Height Trees
322 Coin change
347 Top K Frequent Elements
349 Intersection of Two Arrays
350 Intersection of Two Arrays II
383 Ransom Note
387 First Unique Character in a String
402 Remove K Digits
404 Sum of Left Leaves
409 Longest Palindrome
424 Longest Repeating Character Replacement
442 Find All Duplicates in an Array
445 Add Two Numbers II
451 Sort Characters By Frequency
463 Island Perimeter
476 Number Complement
494 Target Sum
509 Fibonacci Number (pending) (2)
518 Coin Change II
523 Continuous Subarray Sum
538 Convert BST to Greater Tree
542 01 Matrix
567 Permutation in String
599 Minimum Index Sum of Two Lists
617 Merge Two Binary Trees
623 Add One Row to Tree
633 Sum of Square Numbers
646 Maximum Length of Pair Chain
647 Palindromic Substrings
648 Replace Words
680 Valid Palindrome II
700 Search in a Binary Search Tree
703 Kth Largest Element in a Stream
713 Subarray Product Less Than K
725 Split Linked List in Parts
739 Daily Temperatures
746 Min Cost Climbing Stairs
797 All Paths From Source to Target
804 Unique Morse Code Words
826 Most Profit Assigning Work
840 Magic Squares In Grid
846 Hand of Straights
875 Koko Eating Bananas
876 Middle of the Linked List
877 Stone Game
884 Uncommon Words from Two Sentences
896 Monotonic Array
897 Increasing Order Search Tree
912 Sort An Array
921 Minimum Add to Make Parentheses Valid
945 Minimum Increment to Make Array Unique
983 Minimum Cost For Tickets
988 Smallest String Starting From Leaf
994 Rotting Oranges
1011 Capacity To Ship Packages Within D Days
1027 Longest Arithmetic Subsequence (Pending)
1035 Uncrossed Lines
1038 Binary Search Tree to Greater Sum Tree
1046 Last Stone Weight
1122 Relative Sort Array
1137 N-th Tribonacci Number (pending) (1)
1143 Longest Common Subsequence
1143 Longest Common Subsequence (Pending)
1208 Get Equal Substrings Within Budget
1221 Split a String in Balanced Strings
1282 Group The People Given The Group Size They Belong To
1283 Find the Smallest Divisor Given a Threshold
1290 Convert Binary Number in a Linked List to Integer
1305 All Elements in Two Binary Search Trees
1310 XOR Queries of a Subarray
1315 Sum of Nodes with Even-Valued Grandparent
1347 Minimum Number of Steps to Make Two Strings A
1367 Linked List in Binary Tree
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree
1380 Lucky Numbers in a Matrix
1382 Balance a Binary Search Tree
1442 Count Triplets That Can Form Two Arrays of Eq
1466 Reorder Routes to Make All Paths Lead to the City Zero
1482 Minimum Number of Days to Make m Bouquets
1493 Longest Subarray of 1's After Deleting One El
1496 Path Crossing
1498 Number of Sequences That Satisfy the Given Sum Condition
1508 Range Sum of Sorted Subarray Sums
1518 Water Bottles
1535 Find the Winner of an Array Game
1539 Kth Missing Positive Number
1544 Make The String Great
1547 Minimum Cost to Cut a Stick (yet to solve)
1551 Minimum Operations to Make Array Equal
1557 Minimum Number of Vertices to Reach All Nodes
1561 Maximum Number of Coins You Can Get
1572 Matrix Diagonal Sum
1575 Count All Possible Routes (yet to solve)
1598 Crawler Log Folder
1614 Maximum Nesting Depth of the Parentheses
1636 Sort Array by Increasing Frequency
1653 Minimum Deletions to Make String Balanced
1662 Check If Two String Arrays are Equivalent
1669 Merge In Between Linked Lists
1689 Partitioning Into Minimum Number Of Deci-Bina
1732 Find the Highest Altitude (pending)
1768 Merge Strings Alternatively
1773 Count Items Matching A Rule
1791 Find Center of Star Graph
1816 Truncate Sentence
1823 Find the Winner of the Circular Game
1832 Check if the Sentence Is Pangram
1844 Replace All Digits with Characters
1859 Sorting the Sentence
1903 Largest Odd Number in String
1905 Count Sub Islands
1967 Number of Strings That Appear as Substrings i
1974 Minimum Time to Type Word Using Special Typewriter
1992 Find All Groups of Farmland
2037 Minimum Number of Moves to Seat Everyone
2053 Kth Distinct String in an Array
2090 K Radius Subarray Averages
2124 Check if All A's Appears Before All B's
2124 Check if All A's Appears Before All B's
2148 Sort the People
2149 Rearrange Array Elements by Sign
2192 All Ancestors of a Node in a Directed Acyclic Graph
2194 Cells in a Range on an Excel Sheet
2196 Create Binary Tree From Descriptions
2265 Count Nodes Equal to Average of Subtree
2287 Rearrange Characters to Make Target String
2315 Count Asterisks
2325 Decode the Message
2368 Reachable Nodes With Restrictions
2373 Largest Local Values in a Matrix
2391 Minimum Amount of Time to Collect Garbage
2401
2415 Reverse Odd Levels of Binary Tree
2428 Maximum Sum of an Hourglass
2433 Find The Original Array of Prefix Xor
2448 Minimum Cost to Make Array Equal (debug pendi
2582 Pass the Pillwo
2610 Convert an Array Into a 2D Array With Conditions
2697 Lexicographically Smallest Palindrome
2710 Remove Trailing Zeros From a String
2744 Find Maximum Number of String Pairs
2785 Sort Vowels in a String
2788 Split Strings by Separator
2798 Number of Employees Who Met the Target
2807 Insert Greatest Common Divisors in Linked List
2810 Faulty Keyboard
2828 Check if a String Is an Acronym of Words
2849 Determine if a Cell Is Reachable at a Given T
2913 Subarrays Distinct Element Sum of Squares I
2958 Length of Longest Subarray With at Most K Fre
3016 Minimum Number of Pushes to Type Word II
3019 Number of Changing Keys
3075 Maximize Happiness of Selected Children
3079 Find the Sum of Encrypted Integers
3211 Generate Binary Strings Without Adjacent Zeros
3217 Delete Nodes From Linked List Present in Array
Leetcode w me
notes
Binary Search
Divide and Conquer
Dutch National Flag
Merge Sort
Topological Sort
prep
Differences between Stack and Heap allocation
Multithreading vs Multiprocessing
projects
Minecraft chunk with Procedural Terrain Generation
Portfolio site - athk.dev
Present - a presentation app
The Tail Call Recursion Experiments
Home
❯
tags
❯
Tag: pairs
Tag: pairs
1 item with this tag.
Jun 24, 2024
646 Maximum Length of Pair Chain
medium
dynamic-programming
memoise
pairs