LeetCode The Hard Way

0100 - 0199

Solutions categorised by Problem IDs

0100 - Same Tree (Easy)Author: @ColeB2, @radojicic23 | https://leetcode.com/problems/same-tree/0101 - Symmetric Tree (Easy)Author: @wkw, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/symmetric-tree/0102 - Binary Tree Level Order Traversal (Medium)Author: @Srijita-Mandal, @radojicic23 | https://leetcode.com/problems/binary-tree-level-order-traversal/0103 - Binary Tree Zigzag Level Order Traversal (Medium)Author: @wkw | https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/0104 - Maximum Depth of Binary Tree (Easy)Author: @vigneshshiv, @radojicic23, @ColeB2 | https://leetcode.com/problems/maximum-depth-of-binary-tree0105 - Construct Binary Tree from Preorder and Inorder Traversal (Medium)Author: @ColeB2 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/0110 - Balanced Binary Tree (Easy)Author: @SkollRyu, @ColeB2 | https://leetcode.com/problems/balanced-binary-tree/0112 - Path Sum (Easy)Author: @wkw | https://leetcode.com/problems/path-sum/0113 - Path Sum II (Medium)Author: @wkw, @lonyehan, @radojicic23 | https://leetcode.com/problems/path-sum-ii/0115 - Distinct Subsequences (Hard)Author: @wkw, @ColeB2 | https://leetcode.com/problems/distinct-subsequences/0118 - Pascal's Triangle (Easy)Author: @ColeB2, @wkw | https://leetcode.com/problems/pascals-triangle/0121 - Best Time to Buy and Sell Stock (Easy)Author: @jeremiaaxel, @ColeB2, @radojicic23 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock/0124 - Binary Tree Maximum Path Sum (Hard)Author: @ColeB2 | https://leetcode.com/problems/binary-tree-maximum-path-sum/0125 - Valid Palindrome (Easy)Author: @vale-c | https://leetcode.com/problems/valid-palindrome/0127 - Word Ladder (Hard)Author: @wkw, @ColeB2 | https://leetcode.com/problems/word-ladder/0129 - Sum Root to Leaf Numbers (Medium)Author: @heder, @jit | https://leetcode.com/problems/sum-root-to-leaf-numbers/0130 Surrounded Regions (Medium)Author: @ColeB2, @kesava-karri | https://leetcode.com/problems/surrounded-regions/0131 - Palindrome Partitioning (Medium)Author: @wkw, @ColeB2 | https://leetcode.com/problems/palindrome-partitioning/0133 - Clone Graph (Medium)Author: @ColeB2 | https://leetcode.com/problems/clone-graph/0134 - Gas Station (Medium)Author: @hirotake111 | https://leetcode.com/problems/gas-station/0136 - Single Number (Easy)Author: @wkw, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/single-number/0138 - Copy List with Random Pointer (Medium)Author: @ColeB2 | https://leetcode.com/problems/copy-list-with-random-pointer/0139 - Word Break (Medium)Author: @ColeB2 | https://leetcode.com/problems/word-break/0141 - Linked List Cycle (Easy)Author: @lonyehan, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/linked-list-cycle/0143 - Reorder List (Medium)Author: @ColeB2, @radojicic23 | https://leetcode.com/problems/reorder-list/0144 - Binary Tree Preorder Traversal (Easy)Author: @wkw, @ganajayant, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/binary-tree-preorder-traversal/0145 - Binary Tree Postorder Traversal (Easy)Author: @wkw, @ganajayant, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/binary-tree-postorder-traversal/0146 - LRU Cache (Medium)Author: @ColeB2 | https://leetcode.com/problems/lru-cache/0148 - Sort List (Medium)Author: @vigneshshiv, @radojicic23 | https://leetcode.com/problems/sort-list/0150 - Evaluate Reverse Polish Notation (Medium)Author: @ColeB2 | https://leetcode.com/problems/evaluate-reverse-polish-notation/0152 - Maximum Product Subarray (Medium)Author: @ColeB2 | https://leetcode.com/problems/maximum-product-subarray/0154 - Find Minimum in Rotated Sorted Array II (Hard)Author: @yashh0903 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/0155 - Min Stack (Medium)Author: @heiheihang, @ColeB2 | https://leetcode.com/problems/min-stack/0162 - Find Peak Element (Medium)Author: @yashh0903 | https://leetcode.com/problems/find-peak-element/0165 - Compare Version Numbers (Medium)Author: @wkw | https://leetcode.com/problems/compare-version-numbers/0169 - Majority Element (Easy)Author: @wkw, @radojicic23 | https://leetcode.com/problems/majority-element/0188 - Best Time to Buy and Sell Stock IV (Hard)Author: @wkw | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/0191 - Number of 1 Bits (Easy)Author: @wkw, @vigneshshiv, @radojicic23 | https://leetcode.com/problems/number-of-1-bits/0198 - House Robber (Medium)Author: @ColeB2, @radojicic23 | https://leetcode.com/problems/house-robber/0199 - Binary Tree Right Side View (Medium)Author: @ganajayant, @ColeB2, @radojicic23 | https://leetcode.com/problems/binary-tree-right-side-view/