LeetCode The Hard Way

0500 - 0599

Solutions categorised by Problem IDs

0501 - Find Mode in Binary Search Tree (Easy)Explore solutions to LeetCode 0501 - Find Mode in Binary Search Tree (Easy), with explanations and code implementations.0508 - Most Frequent Subtree Sum (Medium)Explore solutions to LeetCode 0508 - Most Frequent Subtree Sum (Medium), with explanations and code implementations.0518 - Coin Change 2 (Medium)Explore solutions to LeetCode 0518 - Coin Change 2 (Medium), with explanations and code implementations.0520 - Detect Capital (Easy)Explore solutions to LeetCode 0520 - Detect Capital (Easy), with explanations and code implementations.0523 - Continuous Subarray Sum (Medium)Explore solutions to LeetCode 0523 - Continuous Subarray Sum (Medium), with explanations and code implementations.0525 - Contiguous Array (Medium)Explore solutions to LeetCode 0525 - Contiguous Array (Medium), with explanations and code implementations.0532 - K-diff Pairs in an Array (Medium)Explore solutions to LeetCode 0532 - K-diff Pairs in an Array (Medium), with explanations and code implementations.0540 - Single Element in a Sorted Array (Medium)Explore solutions to LeetCode 0540 - Single Element in a Sorted Array (Medium), with explanations and code implementations.0542 - 01 Matrix (Medium)Explore solutions to LeetCode 0542 - 01 Matrix (Medium), with explanations and code implementations.0543 - Diameter of Binary Tree (Easy)Explore solutions to LeetCode 0543 - Diameter of Binary Tree (Easy), with explanations and code implementations.0557 - Reverse Words in a String III (Easy)Explore solutions to LeetCode 0557 - Reverse Words in a String III (Easy), with explanations and code implementations.0559 - Maximum Depth of N-ary Tree (Easy)Explore solutions to LeetCode 0559 - Maximum Depth of N-ary Tree (Easy), with explanations and code implementations.0560 - Subarray Sum Equals K (Medium)Explore solutions to LeetCode 0560 - Subarray Sum Equals K (Medium), with explanations and code implementations.0567 - Permutation in String (Medium)Explore solutions to LeetCode 0567 - Permutation in String (Medium), with explanations and code implementations.0572 - Subtree of Another Tree (Easy)Explore solutions to LeetCode 0572 - Subtree of Another Tree (Easy), with explanations and code implementations.0581 - Shortest Unsorted Continuous Subarray (Medium)Explore solutions to LeetCode 0581 - Shortest Unsorted Continuous Subarray (Medium), with explanations and code implementations.0589 - N-ary Tree Preorder Traversal (Easy)Explore solutions to LeetCode 0589 - N-ary Tree Preorder Traversal (Easy), with explanations and code implementations.