Practice Python
Every practice exercise of the course in one place. Filter by difficulty or topic, pick one and solve it in the full-screen editor.
- 493exercises
- 123Easy
- 261Medium
- 109Hard
Challenge of the day · 30 Nov
Count XML tags
Your progress by difficulty
to see your progress by difficulty.
Sign in493 exercises · Page 8 of 21
The k-th smallest
Classic algorithms
Hard
Majority element
Classic algorithms
Medium
Are they permutations of each other?
Classic algorithms
Easy
All subsets
Search and backtracking
Medium
Permutations of a word
Search and backtracking
Medium
Combinations
Search and backtracking
Medium
Subsets with a target sum
Search and backtracking
Hard
Well-formed parentheses
Search and backtracking
Hard
The N queens problem
Search and backtracking
Hard
Paths in a grid
Search and backtracking
Medium
Count islands
Search and backtracking
Hard
Escape the maze
Search and backtracking
Hard
Color a map
Search and backtracking
Hard
Maximum sum of k consecutive items
Algorithmic patterns
Medium
Longest substring without repeats
Algorithmic patterns
Hard
Range sums with prefixes
Algorithmic patterns
Medium
Subarrays with sum k
Algorithmic patterns
Hard
Palindrome ignoring symbols
Algorithmic patterns
Medium
Container with most water
Algorithmic patterns
Hard
Merge intervals
Algorithmic patterns
Hard
Meeting rooms needed
Algorithmic patterns
Hard
Activity selection
Algorithmic patterns
Hard
Jump game
Algorithmic patterns
Hard
The house robber
Dynamic programming
Medium