When I saw Leetcode on the timeline, I thought you guys were so “cult”…
Until I started doing Leetcode problems myself - “Damn it’s super fun just to solve the problems, the daily intellectual challenge is the new fun every day!”
So now I’m starting to save these algorithm problems’ solutions to here.
I solve these problems in Typescript , and add a few unit tests with Deno, perfect! Don’t know if I’ll ever get the chance to do the whole thing in this lifetime.
Usage🔗
git clone git@github.com:theowenyoung/blog.git
deno test
Resources🔗
Classic🔗
- Sort
- Selection Sort - Easy
- Bubble Sort - Medium
- Insertion Sort - Medium
- Quick Sort - Medium
- Merge Sort - Medium
Easy🔗
Medium🔗
Hard🔗
- Longest Palindromic Substring - Answer
- Longest Palindromic Subsequence - Answer
- Longest Increasing Subsequence - Answer
- Wiggle Subsequence - Answer
- Longest Common Subsequence - Answer
- Edit Distance - Answer
- Coin Change - Answer