Leetcode My solutions to Leetcode questions. Leetcode profile: https://leetcode.com/garfield041/ Solutions Java Two Sum Remove Linked List Elements Reverse Linked List Python Number of Steps to Reduce a Number to Zero Subtract the Product and Sum of Digits of an Integer Find Numbers with Even Number of Digits To Lower Case Unique Number of Occurrences Defanging an IP Address Two Sum Palindrom Number Merge Two Sorted Lists Jewels and Stones Squares of a Sorted Array Merge Sorted Array Power of Two Count Negative Numbers in a Sorted Matrix Min Stack Reverse String Binary Tree Postorder Traversal Binary Tree Preorder Traversal Binary Tree Inorder Traversal Swap Nodes in Pairs Fibonacci Number Climbing Stairs Maximum Depth of Binary Tree Search in a Binary Search Tree Reverse Linked List Find Pivot Index Largest Number At Least Twice of Others Plus One Implement strStr() Array Partition I Two Sum II - Input Array is Sorted Remove Element (In Place) Max Consecutive Ones Reverse Words in a String Reverse Words in a String III Remove Duplicates from Sorted Array Move Zeroes Binary Search Guess Number Higher or Lower Sqrt(x) First Bad Version Find Peak Element Search for a Range Valid Perfect Square Intersection of Two Arrays Find the Duplicate Number Sort an Array Validate Binary Search Tree Search a 2D Matrix II Linked List Cycle Linked List Cycle II Intersection of Two Linked Lists Remove Linked List Elements Minimum Depth of Binary Tree Odd Even Linked List Insert into a Binary Search Tree Delete Node in a BST Search in a Binary Search Tree Add Digits Happy Number Contains Duplicate Reverse String Reverse Integer Symmetric Tree Missing Number Palindrome Linked List Sum of Two Arrays Amend the Sentence Remove Nth Node From End of List Counting Elements Middle of the Linked List Last Stone Weight Best Time to Buy and Sell Stock II How Many Numbers are Smaller than the Current Number Create Target Array in the Given Order Find Numbers with Even Number Digits Squares of a Sorted Array Check if N and its Double Exist Detect Capital Power of Four Power of Three Find All Duplicates in an Array Running Sum of 1D Array Kids With Greatest Number of Candies Shuffle the Array Number of Good Pairs Range Sum of BST