Zoomis Solution for LeetCode
Introduction
LeetCode
1 Two Sum
2 Add Two Numbers
3 Longest Substring Without Repeating Characters
4 Median of Two Sorted Arrays
5 Longest Palindromic Substring
10 Regular Expression Matching
14 Longest Common Prefix
15 3Sum
17 Letter Combinations of a Phone Number
20 Valid Parentheses
20 Valid Parentheses
22 Generate Parentheses
23 Merge k Sorted Lists
23 Merge k Sorted Lists
29 Divide Two Integers
38 Count and Say
46 Permutations
53 Maximum Subarray
56 Merge Intervals
57 Insert Interval
59 Spiral Matrix II
61 Rotate List
69 Sqrt(x)
72 Edit Distance
78 Subsets
90 Subset II
104 Maximum Depth of Binary Tree
106 Construct Binary Tree from Inorder and Postorder Traversal
109 Convert Sorted List to Binary Search Tree
124 Binary Tree Maximum Path Sum
138 Copy List with Random Pointer
144 Binary Tree Preorder Traversal
146 LRU Cache
209 Minimum Size Subarray Sum
215 Kth Largest Element in an Array
232 Implement Queue using Stack
235 Lowest Common Ancestor of a Binary Search Tree
236 Lowest Common Ancestor of a Binary Tree
300 Longest Increasing Subsequence
322 Coin Change
344 Reverse String
347 Top K Frequent Elements
350 Intersection of Two Arrays II
409 Longest Palindrome
461 Hamming Distance
518 Coin Change 2
530 Minimum Absolute Difference in BST
560 Subarray Sum Equals K
606 Construct String from Binary Tree
617 Merge Two Binary Trees
658 Find K Closest Elements
671 Second Minimum Node In a Binary Tree
674 Longest Continuous Increasing Subsequence
678 Valid Parenthesis String
738 Monotone Increasing Digits
783 Minimum Distance Between BST Nodes
796 Rotate String
xxx Find the closest element in the binary search tree
xxx Find the k closest elements in the binary search tree
xxx Validate Balanced Parenthesis
xxx Fibonacci
xxx serialize and deserialize Binary Tree
xxx print singly linked list reversly
xxx Find min and max from the the given unsorted array
xxx Find the sum between the given range in the BST
767 Reorganize String
xxx Weighted random number
xxx Find smallest 100 numbers from a very long input
101 Symmetric Tree
152 Maximum Product
xxx print level order traversal
31 Next Permutation
54 Spiral Matrix
50 Pow (x,n)
139 Word Break
155 MinStack
173 BST Iterator
200 Number of Islands
208 Implement Trie (Prefix Tree)
Powered by
GitBook
Introduction
My Solution for Leet Code
I hope these solutions are useful to prepare your interview.
results matching "
"
No results matching "
"