LeetCode The Hard Way

0100 - 0199

Solutions categorised by Problem IDs

0100 - Same Tree (Easy)Explore solutions to LeetCode 0100 - Same Tree (Easy), with explanations and code implementations.0101 - Symmetric Tree (Easy)Explore solutions to LeetCode 0101 - Symmetric Tree (Easy), with explanations and code implementations.0102 - Binary Tree Level Order Traversal (Medium)Explore solutions to LeetCode 0102 - Binary Tree Level Order Traversal (Medium), with explanations and code implementations.0103 - Binary Tree Zigzag Level Order Traversal (Medium)Explore solutions to LeetCode 0103 - Binary Tree Zigzag Level Order Traversal (Medium), with explanations and code implementations.0104 - Maximum Depth of Binary Tree (Easy)Explore solutions to LeetCode 0104 - Maximum Depth of Binary Tree (Easy), with explanations and code implementations.0105 - Construct Binary Tree from Preorder and Inorder Traversal (Medium)Explore solutions to LeetCode 0105 - Construct Binary Tree from Preorder and Inorder Traversal (Medium), with explanations and code implementations.0110 - Balanced Binary Tree (Easy)Explore solutions to LeetCode 0110 - Balanced Binary Tree (Easy), with explanations and code implementations.0112 - Path Sum (Easy)Explore solutions to LeetCode 0112 - Path Sum (Easy), with explanations and code implementations.0113 - Path Sum II (Medium)Explore solutions to LeetCode 0113 - Path Sum II (Medium), with explanations and code implementations.0115 - Distinct Subsequences (Hard)Explore solutions to LeetCode 0115 - Distinct Subsequences (Hard), with explanations and code implementations.0118 - Pascal's Triangle (Easy)Explore solutions to LeetCode 0118 - Pascal's Triangle (Easy), with explanations and code implementations.0121 - Best Time to Buy and Sell Stock (Easy)Explore solutions to LeetCode 0121 - Best Time to Buy and Sell Stock (Easy), with explanations and code implementations.0124 - Binary Tree Maximum Path Sum (Hard)Explore solutions to LeetCode 0124 - Binary Tree Maximum Path Sum (Hard), with explanations and code implementations.0125 - Valid Palindrome (Easy)Explore solutions to LeetCode 0125 - Valid Palindrome (Easy), with explanations and code implementations.0127 - Word Ladder (Hard)Explore solutions to LeetCode 0127 - Word Ladder (Hard), with explanations and code implementations.0129 - Sum Root to Leaf Numbers (Medium)Explore solutions to LeetCode 0129 - Sum Root to Leaf Numbers (Medium), with explanations and code implementations.0130 Surrounded Regions (Medium)Explore solutions to LeetCode 0130 Surrounded Regions (Medium), with explanations and code implementations.0131 - Palindrome Partitioning (Medium)Explore solutions to LeetCode 0131 - Palindrome Partitioning (Medium), with explanations and code implementations.0133 - Clone Graph (Medium)Explore solutions to LeetCode 0133 - Clone Graph (Medium), with explanations and code implementations.0134 - Gas Station (Medium)Explore solutions to LeetCode 0134 - Gas Station (Medium), with explanations and code implementations.0136 - Single Number (Easy)Explore solutions to LeetCode 0136 - Single Number (Easy), with explanations and code implementations.0138 - Copy List with Random Pointer (Medium)Explore solutions to LeetCode 0138 - Copy List with Random Pointer (Medium), with explanations and code implementations.0139 - Word Break (Medium)Explore solutions to LeetCode 0139 - Word Break (Medium), with explanations and code implementations.0141 - Linked List Cycle (Easy)Explore solutions to LeetCode 0141 - Linked List Cycle (Easy), with explanations and code implementations.0143 - Reorder List (Medium)Explore solutions to LeetCode 0143 - Reorder List (Medium), with explanations and code implementations.0144 - Binary Tree Preorder Traversal (Easy)Explore solutions to LeetCode 0144 - Binary Tree Preorder Traversal (Easy), with explanations and code implementations.0145 - Binary Tree Postorder Traversal (Easy)Explore solutions to LeetCode 0145 - Binary Tree Postorder Traversal (Easy), with explanations and code implementations.0146 - LRU Cache (Medium)Explore solutions to LeetCode 0146 - LRU Cache (Medium), with explanations and code implementations.0148 - Sort List (Medium)Explore solutions to LeetCode 0148 - Sort List (Medium), with explanations and code implementations.0150 - Evaluate Reverse Polish Notation (Medium)Explore solutions to LeetCode 0150 - Evaluate Reverse Polish Notation (Medium), with explanations and code implementations.0152 - Maximum Product Subarray (Medium)Explore solutions to LeetCode 0152 - Maximum Product Subarray (Medium), with explanations and code implementations.0154 - Find Minimum in Rotated Sorted Array II (Hard)Explore solutions to LeetCode 0154 - Find Minimum in Rotated Sorted Array II (Hard), with explanations and code implementations.0155 - Min Stack (Medium)Explore solutions to LeetCode 0155 - Min Stack (Medium), with explanations and code implementations.0162 - Find Peak Element (Medium)Explore solutions to LeetCode 0162 - Find Peak Element (Medium), with explanations and code implementations.0165 - Compare Version Numbers (Medium)Explore solutions to LeetCode 0165 - Compare Version Numbers (Medium), with explanations and code implementations.0169 - Majority Element (Easy)Explore solutions to LeetCode 0169 - Majority Element (Easy), with explanations and code implementations.0182 - Duplicate Emails (Easy)Explore solutions to LeetCode 0182 - Duplicate Emails (Easy), with explanations and code implementations.0188 - Best Time to Buy and Sell Stock IV (Hard)Explore solutions to LeetCode 0188 - Best Time to Buy and Sell Stock IV (Hard), with explanations and code implementations.0191 - Number of 1 Bits (Easy)Explore solutions to LeetCode 0191 - Number of 1 Bits (Easy), with explanations and code implementations.0198 - House Robber (Medium)Explore solutions to LeetCode 0198 - House Robber (Medium), with explanations and code implementations.0199 - Binary Tree Right Side View (Medium)Explore solutions to LeetCode 0199 - Binary Tree Right Side View (Medium), with explanations and code implementations.