Python keeps algorithm practice focused on the problem: compact syntax, useful built-ins, little ceremony.
-
Two Sum: index-pair lookup
-
Add Two Numbers: linked-list arithmetic
-
Longest Substring Without Repeats
-
Median of Two Sorted Arrays
-
Longest Palindromic Substring
-
Zigzag String Conversion
-
Reverse a 32-bit Integer
-
String to Integer (atoi)
-
Palindrome Integer
-
Regular Expression Matching
-
Container With Most Water
-
Integer to Roman
-
Roman to Integer
-
Longest Common Prefix
-
3Sum
-
3Sum Closest
-
Phone Number Letter Combinations
-
Count and Say
-
Merge Overlapping Intervals
-
Best Time to Buy and Sell Stock
-
Linked List Cycle
-
Linked List Cycle II