These are the links to the problems solved by me and the solutions are above
- Merge Two Binary Trees
- Univalued Binary Tree
- Best Time to Buy and Sell Stock
- Climbing Stairs
- Stone Game
- Reverse String
- Squares of a Sorted Array
- Middle of the Linked List
- Merge Two Sorted Lists
- Remove Duplicates from Sorted List
- Linked List Cycle
- Remove Linked List Elements
- Intersection of Two Linked Lists
- Reverse Linked List
- Palindrome Linked List
- Linked List Cycle II
- Odd Even Linked List
- Reorder List
- Two Sum II - Input array is sorted
- Search in a Binary Search Tree
- Maximum Depth of Binary Tree
- Leaf-Similar Trees
- Valid Parentheses
- Backspace String Compare
- Remove Nth Node From End of List
- Validate Stack Sequences
- Swap Nodes in Pairs
- Partition List
- N-ary Tree Preorder Traversal
- N-ary Tree Postorder Traversal
- Rotate Image
- Maximum Depth of N-ary Tree
- Invert Binary Tree
- N-ary Tree Level Order Traversal
- Next Greater Node In Linked List
- Majority Element
- Missing Number
- Single Number |
- Single Number ||
- Single Number |||
- Find the Town Judge
- Redundant Connection
- Search in Rotated Sorted Array
- Minimum Distance Between BST Nodes
- Range Sum of BST
- Kth Largest Element in a Stream
- Sort Characters By Frequency
- Top K Frequent Elements
- Sliding Window Maximum
- Find K Pairs with Smallest Sums
- Merge k Sorted Lists
- Min Stack
- Binary Search Tree to Greater Sum Tree
- Gas Station
- Reverse Words in a String
- Ugly Number
- Combination Sum
- Combinations
- Sum Root to Leaf Numbers
- Path Sum
- Path Sum II
- Intersection of Two Arrays II
- Lexicographical Numbers
- Power of Four
- Nth Digit
- Course Schedule II
- Course Schedule
- Last Stone Weight
- Bulb Switcher
- Vertical Order Traversal of a Binary Tree
- Binary Tree Maximum Path Sum
- Hand of Straights
- K Closest Points to Origin
- Binary Search
- Flatten a Multilevel Doubly Linked List
- Flatten Binary Tree to Linked List
- Longest Consecutive Sequence
- Rotate Array
- Find Minimum in Rotated Sorted Array
- Pascal's Triangle
- Pascal's Triangle II
- Subsets
- Permutations
- Ugly Number II
- Alphabet Board Path
- Minimum Falling Path Sum
- Dilemma
- Arithmetic Slices
- Find Smallest Letter Greater Than Target
- Convert BST to Greater Tree
- Lowest Common Ancestor of a Binary Tree
- Longest Common Subsequence