Solve LeetCode problems: My profile
- 56 - Merge Intervals
- 57 - Insert Interval
- 152 - Maximum Product Subarray
- 189 - Rotate Array
- 238 - Product of Array Except Self
- 287 - Find the Duplicate Number
- 448 - Find All Numbers Disappeared in an Array
- 485 - Max Consecutive Ones
- 495 - Teemo Attacking
- 605 - Can Place Flowers
- 989 - Add to Array-Form of Integer
- 1375 - Bulb Switcher III
- 1402 - Reducing Dishes
- 1409 - Queries on a Permutation With Key
- 1470 - Shuffle the Array
- 1561 - Maximum Number of Coins You Can Get
- 1779 - Find Nearest Point That Has the Same X or Y Coordinate
- 1822 - Sign of the Product of an Array
- 1828 - Queries on Number of Points Inside a Circle
- 1909 - Remove One Element to Make the Array Strictly Increasing
- 1920 - Build Array from Permutation
- 1929 - Concatenation of Array
- 2079 - Watering Plants
- 2348 - Number of Zero-Filled Subarrays
- 2574 - Left and Right Sum Differences
- 102 - Binary Tree Level Order Traversal
- 103 - Binary Tree Zigzag Level Order Traversal
- 107 - Binary Tree Level Order Traversal II
- 127 - Word Ladder
- 199 - Binary Tree Right Side View
- 433 - Minimum Genetic Mutation
- 752 - Open the Lock
- 773 - Sliding Puzzle
- 1091 - Shortest Path in Binary Matrix
- 1129 - Shortest Path with Alternating Colors
- 1162 - As Far from Land as Possible
- 1293 - Shortest Path in a Grid with Obstacles Elimination
- 1302 - Deepest Leaves Sum
- 1345 - Jump Game IV
- 1466 - Reorder Routes to Make All Paths Lead to the City Zero
- 2059 - Minimum Operations to Convert Number
- 2316 - Count Unreachable Pairs of Nodes in an Undirected Graph
- 33 - Search in Rotated Sorted Array
- 34 - Find First and Last Position of Element in Sorted Array
- 35 - Search Insert Position
- 69 - Sqrt(x)
- 81 - Search in Rotated Sorted Array II
- 153 - Find Minimum in Rotated Sorted Array
- 278 - First Bad Version
- 540 - Single Element in a Sorted Array
- 702 - Search in a Sorted Array of Unknown Size
- 704 - Binary Search
- 852 - Peak Index in a Mountain Array
- 875 - Koko Eating Bananas
- 1101 - Capacity To Ship Packages Within D Days
- 1539 - Kth Missing Positive Number
- 1631 - Path With Minimum Effort
- 1760 - Minimum Limit of Balls in a Bag
- 2187 - Minimum Time to Complete Trips
- 2300 - Successful Pairs of Spells and Potions
- 98 - Validate Binary Search Tree
- 109 - Convert Sorted List to Binary Search Tree
- 230 - Kth Smallest Element in a BST
- 285 - Inorder Successor in BST
- 450 - Delete Node in a BST
- 530 - Minimum Absolute Difference in BST
- 538 - Convert BST to Greater Tree
- 669 - Trim a Binary Search Tree
- 700 - Search in a Binary Search Tree
- 701 - Insert into a Binary Search Tree
- 783 - Minimum Distance Between BST Nodes
- 938 - Range Sum of BST
- 1008 - Construct Binary Search Tree from Preorder Traversal
- 1038 - Binary Search Tree to Greater Sum Tree
- 1305 - All Elements in Two Binary Search Trees
- 1382 - Balance a Binary Search Tree
- 94 - Binary Tree Inorder Traversal
- 100 - Same Tree
- 101 - Symmetric Tree
- 104 - Maximum Depth of Binary Tree
- 106 - Construct Binary Tree from Inorder and Postorder Traversal
- 111 - Minimum Depth of Binary Tree
- 112 - Path Sum
- 113 - Path Sum II
- 129 - Sum Root to Leaf Numbers
- 144 - Binary Tree Preorder Traversal
- 145 - Binary Tree Postorder Traversal
- 226 - Invert Binary Tree
- 404 - Sum of Left Leaves
- 508 - Most Frequent Subtree Sum
- 543 - Diameter of Binary Tree
- 637 - Average of Levels in Binary Tree
- 687 - Longest Univalue Path
- 958 - Check Completeness of a Binary Tree
- 1315 - Sum of Nodes with Even-Valued Grandparent
- 1372 - Longest ZigZag Path in a Binary Tree
- 2265 - Count Nodes Equal to Average of Subtree
- 2331 - Evaluate Boolean Binary Tree
- 78 - Subsets
- 90 - Subsets II
- 190 - Reverse Bits
- 191 - Number of 1 Bits
- 231 - Power of Two
- 268 - Missing Number
- 338 - Counting Bits
- 371 - Sum of Two Integers
- 1318 - Minimum Flips to Make a OR b Equal to c
- 1342 - Number of Steps to Reduce a Number to Zero
- 2433 - Find The Original Array of Prefix Xor
- 2997 - Minimum Number of Operations to Make Array XOR Equal to K
- 3068 - Find the Maximum Sum of Node Values
- 200 - Number of Islands
- 547 - Number of Provinces
- 695 - Max Area of Island
- 797 - All Paths From Source to Target
- 834 - Sum of Distances in Tree
- 841 - Keys and Rooms
- 979 - Distribute Coins in Binary Tree
- 980 - Unique Paths III
- 1219 - Path with Maximum Gold
- 1319 - Number of Operations to Make Network Connected
- 1325 - Delete Leaves With a Given Value
- 1376 - Time Needed to Inform All Employees
- 2101 - Detonate the Maximum Bombs
- 2360 - Longest Cycle in a Graph
- 743 - Network Delay Time
- 787 - Cheapest Flights Within K Stops
- 1514 - Path with Maximum Probability
- 654 - Maximum Binary Tree
- 1763 - Longest Nice Substring
- 45 - Jump Game II
- 55 - Jump Game
- 62 - Unique Paths
- 63 - Unique Paths II
- 64 - Minimum Path Sum
- 70 - Climbing Stairs
- 72 - Edit Distance
- 87 - Scramble String
- 91 - Decode Ways
- 118 - Pascal's Triangle
- 139 - Word Break
- 140 - Word Break II
- 198 - House Robber
- 213 - House Robber II
- 300 - Longest Increasing Subsequence
- 322 - Coin Change
- 337 - House Robber III
- 377 - Combination Sum IV
- 514 - Freedom Trail
- 583 - Delete Operation for Two Strings
- 647 - Palindromic Substrings
- 712 - Minimum ASCII Delete Sum for Two Strings
- 718 - Maximum Length of Repeated Subarray
- 746 - Min Cost Climbing Stairs
- 931 - Minimum Falling Path Sum
- 983 - Minimum Cost For Tickets
- 1035 - Uncrossed Lines
- 1137 - N-th Tribonacci Number
- 1143 - Longest Common Subsequence
- 1262 - Greatest Sum Divisible by Three
- 1289 - Minimum Falling Path Sum II
- 1444 - Number of Ways of Cutting a Pizza
- 2370 - Longest Ideal Subsequence
- 133 - Clone Graph
- 207 - Course Schedule
- 1557 - Minimum Number of Vertices to Reach All Nodes
- 217 - Contains Duplicate
- 219 - Contains Duplicate II
- 387 - First Unique Character in a String
- 734 - Sentence Similarity
- 890 - Find and Replace Pattern
- 1282 - Group the People Given the Group Size They Belong To
- 1502 - Can Make Arithmetic Progression From Sequence
- 1512 - Number of Good Pairs
- 1630 - Arithmetic Subarrays
- 1748 - Sum of Unique Elements
- 1817 - Finding the Users Active Minutes
- 2215 - Find the Difference of Two Arrays
- 2306 - Naming a Company
- 2441 - Largest Positive Integer That Exists With Its Negative
- 2442 - Count Number of Distinct Integers After Reverse Operations
- 2610 - Convert an Array Into a 2D Array With Conditions
- 2657 - Find the Prefix Common Array of Two Arrays
- 23 - Merge k Sorted Lists
- 295 - Find Median from Data Stream
- 347 - Top K Frequent Elements
- 502 - IPO
- 703 - Kth Largest Element in a Stream
- 786 - K-th Smallest Prime Fraction
- 857 - Minimum Cost to Hire K Workers
- 1329 - Sort the Matrix Diagonally
- 1675 - Minimize Deviation in Array
- 2545 - Sort the Students by Their Kth Score
- 2 - Add Two Numbers
- 19 - Remove Nth Node From End of List
- 21 - Merge Two Sorted Lists
- 82 - Remove Duplicates from Sorted List II
- 141 - Linked List Cycle
- 142 - Linked List Cycle II
- 147 - Insertion Sort List
- 160 - Intersection of Two Linked Lists
- 202 - Happy Number
- 206 - Reverse Linked List
- 234 - Palindrome Linked List
- 237 - Delete Node in a Linked List
- 382 - Linked List Random Node
- 876 - Middle of the Linked List
- 1669 - Merge In Between Linked Lists
- 2130 - Maximum Twin Sum of a Linked List
- 2181 - Merge Nodes in Between Zeros
- 319 - Bulb Switcher
- 650 - 2 Keys Keyboard
- 1232 - Check If It Is a Straight Line
- 1523 - Count Odd Numbers in an Interval Range
- 1551 - Minimum Operations to Make Array Equal
- 1603 - Design Parking System
- 1641 - Count Sorted Vowel Strings
- 1753 - Maximum Score From Removing Stones
- 2396 - Strictly Palindromic Number
- 2469 - Convert the Temperature
- 48 - Rotate Image
- 54 - Spiral Matrix
- 73 - Set Matrix Zeroes
- 657 - Robot Return to Origin
- 807 - Max Increase to Keep City Skyline
- 1476 - Subrectangle Queries
- 2120 - Execution of All Suffix Instructions Staying in a Grid
- 2125 - Number of Laser Beams in a Bank
- 2373 - Largest Local Values in a Matrix
- 2482 - Difference Between Ones and Zeros in Row and Column
- 303 - Range Sum Query - Immutable
- 304 - Range Sum Query 2D - Immutable
- 523 - Continuous Subarray Sum
- 560 - Subarray Sum Equals K
- 974 - Subarray Sums Divisible by K
- 1124 - Longest Well-Performing Interval
- 1480 - Running Sum of 1D Array
- 1590 - Make Sum Divisible by P
- 2391 - Minimum Amount of Time to Collect Garbage
- 239 - Sliding Window Maximum
- 622 - Design Circular Queue
- 75 - Sort Colors
- 88 - Merge Sorted Array
- 148 - Sort List
- 283 - Move Zeroes
- 905 - Sort Array By Parity
- 912 - Sort an Array
- 922 - Sort Array By Parity II
- 1637 - Widest Vertical Area Between Two Points Containing No Points
- 20 - Valid Parentheses
- 150 - Evaluate Reverse Polish Notation
- 1047 - Remove All Adjacent Duplicates In String
- 1472 - Design Browser History
- 3 - Longest Substring Without Repeating Characters
- 5 - Longest Palindromic Substring
- 6 - Zigzag Conversion
- 28 - Find the Index of the First Occurrence in a String
- 67 - Add Binary
- 125 - Valid Palindrome
- 165 - Compare Version Numbers
- 535 - Encode and Decode TinyURL
- 680 - Valid Palindrome II
- 696 - Count Binary Substrings
- 1108 - Defanging an IP Address
- 1347 - Minimum Number of Steps to Make Two Strings Anagram
- 1689 - Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1768 - Merge Strings Alternately
- 2000 - Reverse Prefix of Word
- 2405 - Optimal Partition of String
- 2575 - Find the Divisibility Array of a String
- 1 - Two Sum
- 15 - 3Sum
- 18 - 4Sum
- 53 - Maximum Subarray
- 454 - 4Sum II
- 1679 - Max Number of K-Sum Pairs
- 310 - Minimum Height Trees
- 429 - N-ary Tree Level Order Traversal
- 590 - N-ary Tree Postorder Traversal
- 208 - Implement Trie (Prefix Tree)
- 211 - Design Add and Search Words Data Structure
- 676 - Implement Magic Dictionary
- 677 - Map Sum Pairs
- 720 - Longest Word in Dictionary
- 1233 - Remove Sub-Folders from the Filesystem
- 1268 - Search Suggestions System
- 11 - Container With Most Water
- 26 - Remove Duplicates from Sorted Array
- 76 - Minimum Window Substring
- 121 - Best Time to Buy and Sell Stock
- 159 - Longest Substring with At Most Two Distinct Characters
- 167 - Two Sum II - Input Array Is Sorted
- 209 - Minimum Size Subarray Sum
- 240 - Search a 2D Matrix II
- 340 - Longest Substring with At Most K Distinct Characters
- 438 - Find All Anagrams in a String
- 443 - String Compression
- 567 - Permutation in String
- 643 - Maximum Average Subarray I
- 713 - Subarray Product Less Than K
- 763 - Partition Labels
- 845 - Longest Mountain in Array
- 881 - Boats to Save People
- 904 - Fruit Into Baskets
- 992 - Subarrays with K Different Integers
- 1456 - Maximum Number of Vowels in a Substring of Given Length
- 1769 - Minimum Number of Operations to Move All Balls to Each Box
- 1876 - Substrings of Size Three with Distinct Characters
- 1877 - Minimize Maximum Pair Sum in Array
- 2149 - Rearrange Array Elements by Sign
- 2161 - Partition Array According to Given Pivot
- 2444 - Count Subarrays With Fixed Bounds
- 2576 - Find the Maximum Number of Marked Indices