Python implementation of the problems from Clean Code Handbook - LeetCode 50 Common Interview Questions
Blocked means that the problem is available only with Leetcode Premium
Verified/not verified means that the problem solution was accepted/not tested by Leetcode
- Two Sum
- Two Sum II
- Two Sum III (blocked/verified)
- Valid Palindrome
- Implement strstr()
- Reverse Words in a String
- Reverse Words in a String II
- String to Integer (atoi)
- Valid Number
- Longest Substring Without Repeating Characters
- Longest Substring with At Most Two Distinct Characters (blocked)
- Missing Ranges (blocked/verified)
- Longest Palindromic Substring
- One Edit Distance (blocked/verified)
- Read N Characters Given Read4 (blocked/not verified)
- Read N Characters Given Read4 – Call multiple times (blocked/not verified)
- Reverse Integer
- Plus One
- Palindrome Number
- Merge Two Sorted Lists
- Add Two Numbers
- Swap Nodes in Pairs
- Merge K Sorted Linked Lists
- Copy List with Random Pointer
- Validate Binary Search Tree
- Maximum Depth of Binary Tree
- Minimum Depth of Binary Tree
- Balanced Binary Tree
- Convert Sorted Array to Balanced Binary Search Tree
- Convert Sorted List to Balanced Binary Search Tree
- Binary Tree Maximum Path Sum
- Binary Tree Upside Down (blocked/verified)
- Single Number
- Single Number II
- Spiral Matrix
- Integer to Roman
- Roman to Integer
- Clone Graph
- Min Stack
- Evaluate Reverse Polish Notation
- Valid Parentheses
- Climbing Stairs
- Unique Paths
- Unique Paths II
- Maximum Sum Subarray
- Maximum Product Subarray
- Coins in a Line
- Search Insert Position
- Find Minimum in Sorted Rotated Array
- Find Minimum in Rotated Sorted Array II – with duplicates