This repository contains my implementation of useful data structures, algorithms, games, as well as my solutions to programming puzzles.
Each item is marked with a difficulty level. 1 - easy 2 - medium 3 - hard
If a file name starts with 'lc', it's a problem from leetcode.com - Super convenient because I am too lazy to write hundreds of test cases to validate the code :)
Written in python3. Thanks Chip Huyen (@chiphuyen) for the inspiration.
- Top K Frequent Elements (top_k_frequent_elements.py) - 2
- Valid Palindrome (lc-valid_palindrome.py) - 1
- 3Sum (lc-3_sum.py) - 2
- Container With Most Water (lc-container_with_most_water.py) - 2
Taken from neetcode.