The solutions of Leetcode problems with Ruby until now
Add Two Numbers
Contains Duplicate
Contains Duplicate II
Contains Duplicate III
Evaluate Reverse Polish Notation
Longest Substring Without Repeating Characters
Median of Two Sorted Arrays
Reverse Linked List
Two Sum (Hash, Array) (ruby, typescript)
ZigZag Conversion
Remove Duplicates from Sorted Array
Binary Tree Preorder Traversal
Binary Tree Postorder Traversal
Serialize and Deserialize Binary Tree
Word Break
Binary Tree Paths
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Tree
Invert Binary Tree
Binary Tree Right Side View
Flatten Binary Tree to Linked List
Minimum Depth of Binary Tree
Balanced Binary Tree
Binary Tree Level Order Traversal II
Convert Sorted Array to Binary Search Tree
Remove Element
Implement strStr()
Construct Binary Tree from Inorder and Postorder Traversal
Nim Game
Move Zeros
Add Binary
Maximum Size Subarray Sum Equals k
- Until 4/11/2017
Methods involved
String/Characters
- Sliding window
- Hash
- Insert index