LeetCode The Hard Way

0200 - 0299

Solutions categorised by Problem IDs

0200 - Number of Islands (Medium)Explore solutions to LeetCode 0200 - Number of Islands (Medium), with explanations and code implementations.0202 - Happy Number (Easy)Explore solutions to LeetCode 0202 - Happy Number (Easy), with explanations and code implementations.0204 - Count PrimesExplore solutions to LeetCode 0204 - Count Primes, with explanations and code implementations.0205 - Isomorphic Strings (Easy)Explore solutions to LeetCode 0205 - Isomorphic Strings (Easy), with explanations and code implementations.0206 - Reverse Linked List (Easy)Explore solutions to LeetCode 0206 - Reverse Linked List (Easy), with explanations and code implementations.0207 - Course Schedule (Medium)Explore solutions to LeetCode 0207 - Course Schedule (Medium), with explanations and code implementations.0208 - Implement Trie (Prefix Tree) (Medium)Explore solutions to LeetCode 0208 - Implement Trie (Prefix Tree) (Medium), with explanations and code implementations.0210 - Course Schedule II (Medium)Explore solutions to LeetCode 0210 - Course Schedule II (Medium), with explanations and code implementations.0211 - Design Add and Search Words Data Structure (Medium)Explore solutions to LeetCode 0211 - Design Add and Search Words Data Structure (Medium), with explanations and code implementations.0212 - Word Search II (Hard)Explore solutions to LeetCode 0212 - Word Search II (Hard), with explanations and code implementations.0213 - House Robber II (Medium)Explore solutions to LeetCode 0213 - House Robber II (Medium), with explanations and code implementations.0214 - Shortest Palindrome (Hard)Explore solutions to LeetCode 0214 - Shortest Palindrome (Hard), with explanations and code implementations.0215 - Kth Largest Element in an Array (Medium)Explore solutions to LeetCode 0215 - Kth Largest Element in an Array (Medium), with explanations and code implementations.0217 - Contains Duplicate (Easy)Explore solutions to LeetCode 0217 - Contains Duplicate (Easy), with explanations and code implementations.0219 - Contains Duplicate II (Easy)Explore solutions to LeetCode 0219 - Contains Duplicate II (Easy), with explanations and code implementations.0225 - Implement Stack using Queues (Easy)Explore solutions to LeetCode 0225 - Implement Stack using Queues (Easy), with explanations and code implementations.0226 - Invert Binary Tree (Easy)Explore solutions to LeetCode 0226 - Invert Binary Tree (Easy), with explanations and code implementations.0228 - Summary Ranges (Easy)Explore solutions to LeetCode 0228 - Summary Ranges (Easy), with explanations and code implementations.0230 - Kth Smallest Element in a BST (Medium)Explore solutions to LeetCode 0230 - Kth Smallest Element in a BST (Medium), with explanations and code implementations.0231 - Power of Two (Easy)Explore solutions to LeetCode 0231 - Power of Two (Easy), with explanations and code implementations.0234 - Palindrome Linked List (Easy)Explore solutions to LeetCode 0234 - Palindrome Linked List (Easy), with explanations and code implementations.0235 - Lowest Common Ancestor of a Binary Search Tree (Medium)Explore solutions to LeetCode 0235 - Lowest Common Ancestor of a Binary Search Tree (Medium), with explanations and code implementations.0237 - Delete Node in a Linked List (Medium)Explore solutions to LeetCode 0237 - Delete Node in a Linked List (Medium), with explanations and code implementations.0238 - Product of Array Except Self (Medium)Explore solutions to LeetCode 0238 - Product of Array Except Self (Medium), with explanations and code implementations.0239 - Sliding Window Maximum (Hard)Explore solutions to LeetCode 0239 - Sliding Window Maximum (Hard), with explanations and code implementations.0242 - Valid Anagram (Easy)Explore solutions to LeetCode 0242 - Valid Anagram (Easy), with explanations and code implementations.0246 - Strobogrammatic Number (Easy)Explore solutions to LeetCode 0246 - Strobogrammatic Number (Easy), with explanations and code implementations.0258 - Add Digits (Easy)Explore solutions to LeetCode 0258 - Add Digits (Easy), with explanations and code implementations.0261 - Graph Valid Tree (Medium)Explore solutions to LeetCode 0261 - Graph Valid Tree (Medium), with explanations and code implementations.0263 - Ugly NumberExplore solutions to LeetCode 0263 - Ugly Number, with explanations and code implementations.0268 - Missing Number (Easy)Explore solutions to LeetCode 0268 - Missing Number (Easy), with explanations and code implementations.0278 - First Bad Version (Easy)Explore solutions to LeetCode 0278 - First Bad Version (Easy), with explanations and code implementations.0283 - Move Zeroes (Easy)Explore solutions to LeetCode 0283 - Move Zeroes (Easy), with explanations and code implementations.0286 - Walls and Gates (Medium)Explore solutions to LeetCode 0286 - Walls and Gates (Medium), with explanations and code implementations.0287 - Find the Duplicate Number (Medium)Explore solutions to LeetCode 0287 - Find the Duplicate Number (Medium), with explanations and code implementations.0290 - Word Pattern (Easy)Explore solutions to LeetCode 0290 - Word Pattern (Easy), with explanations and code implementations.0295 - Find Median from Data Stream (Hard)Explore solutions to LeetCode 0295 - Find Median from Data Stream (Hard), with explanations and code implementations.0297 - Serialize and Deserialize Binary Tree (Hard)Explore solutions to LeetCode 0297 - Serialize and Deserialize Binary Tree (Hard), with explanations and code implementations.0298 - Binary Tree Longest Consecutive Sequence (Medium)Explore solutions to LeetCode 0298 - Binary Tree Longest Consecutive Sequence (Medium), with explanations and code implementations.0299 - Bulls and Cows (Medium)Explore solutions to LeetCode 0299 - Bulls and Cows (Medium), with explanations and code implementations.