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 9 of 21
The 0/1 knapsack
Dynamic programming
Hard
Longest common subsequence
Dynamic programming
Hard
Edit distance
Dynamic programming
Hard
Longest increasing subsequence
Dynamic programming
Hard
Minimum cost path
Dynamic programming
Hard
Ways to make change
Dynamic programming
Hard
Split into two equal halves
Dynamic programming
Hard
Number triangle
Dynamic programming
Medium
Segment with a dictionary
Dynamic programming
Hard
Convert to base b
Numbers and bits
Easy
Two's complement
Numbers and bits
Medium
Count set bits
Numbers and bits
Easy
Powers of two
Numbers and bits
Easy
The unpaired number
Numbers and bits
Medium
Bit mask commands
Numbers and bits
Medium
Gray code
Numbers and bits
Medium
Modular exponentiation
Numbers and bits
Hard
Modular inverse
Numbers and bits
Hard
Exact sum of fractions
Numbers and bits
Medium
Squares with a comprehension
Comprehensions and functional programming
Easy
Filter even numbers
Comprehensions and functional programming
Easy
Word lengths
Comprehensions and functional programming
Easy
Label evens and odds
Comprehensions and functional programming
Easy
Dictionary of lengths
Comprehensions and functional programming
Medium