This is an easy to read reference to common Algorithm questions from sites like Leetcode, with the aim of helping me both learn Ruby and practice my data structures and algorithms knowledge.
Problem | Solution |
---|---|
Longest Substring Without Repeating Characters | Ruby |
Longest Palindromic Substring | Ruby |
Increasing Triplet Subsequence | Ruby |
Range Sum of BST | Ruby |
Insert into a Binary Search Tree | Ruby |
Maximum Binary Tree | Ruby |
Remove Outermost Parentheses | Ruby |
Unique Morse Code Words | Ruby |
Construct Binary Search Tree from Preorder Traversal | Ruby |
Defanging an IP Address | Ruby |
Flipping an Image | Ruby |
Binary Tree Inorder Traversal | Ruby |
Valid Palindrome | Ruby |
Sort Array By Parity | Ruby |
Reveal Cards In Increasing Order | Ruby |
Letter Tile Possibilities | Ruby |
Most Common Word | Ruby |