This repository shows my implementations written in Python to Top Interview Questions from LeeCode.
The motivation to create a such repo was inspired by Chip Huyen.
Array
- [ ] Remove Duplicates from Sorted Array
- [ ] Best Time to Buy and Sell stock II
- [ ] Rotate Array
- [ ] Contains Duplicate
- [ ] Single Number
- [ ] Intersection of Two Arrays II
- [ ] Plus One
- [ ] Move Zeroes
- [ ] Two Sum
- [ ] Valid Sudoku
- [ ] Rotate Image
Strings
- [ ] Reverse String
- [ ] Reverse Integer
- [ ] First Unique Character in a String
- [ ] Valid Anagram
- [ ] String to Integer (atoi)
- [ ] Implement strStr()
- [ ] Count and Say
- [ ] Longest Common Prefix
Linked List
- Delete Node in a Linked List
- Remove Nth Node From End of List Solution
- Reverse Linked List
- Merge Two Sorted Lists
- Palindrome Linked List
- Linked List Cycle
Trees
Sorting and Searching
Dynamic Programming
Design
Math
Others