Data structure problems in Python
Tries, union-find, range trees and other structures built for speed, as Python problems with tests.
Intermediate
Advanced
Expert
- 442. Colder Days AheadFor every day, how many of the days still to come will be colder?220 XP45 min
- 470. Range Add, Range SumRaise a whole block at once, total any block, and keep both fast240 XP50 min
- 482. Wildcard Word CounterA crossword helper: how many words fit the letters you already know?250 XP55 min
- 483. All-in-One CounterCount up, count down, and always know the biggest and the smallest260 XP55 min
Other topics
- Python Basics
- Strings
- Lists
- Dictionaries and sets
- Loops
- Functions
- Math
- Sorting and searching
- Two pointers
- Sliding window
- Stacks and queues
- Recursion and backtracking
- Dynamic programming
- Greedy
- Graphs
- Trees
- Bit manipulation
- Classes
- Iterators and generators
- Parsing
- Simulation
- Python idioms
- Regular expressions
- Codes and ciphers
- Working with data
- Grids and matrices
- Geometry
- Games and puzzles
- Heaps
Or see every challenge, with study plans, today's challenge and duels.