Standard Library
Strings, paths, collections, caching, logging and dates: the batteries Python already includes.
- 01
Build Strings Efficiently
- easy
- Pro
- 02
Files and Paths with Pathlib
- easy
- Pro
- 03
Count Things with Counter
- easy
- Pro
- 04
Group Items with Defaultdict
- easy
- Pro
- 05
A Queue with Deque
- medium
- Pro
- 06
Top K with Heapq
- medium
- Pro
- 07
Search a Sorted List with Bisect
- medium
- Pro
- 08
Cache Results with LRU Cache
- medium
- Pro
- 09
Replace Magic Strings with Enum
- medium
- Pro
- 10
Logging Instead of Print
- medium
- Pro
- 11
Run Commands with Subprocess
- medium
- Pro
- 12
Why Set Lookups Are Fast
- hard
- Pro
- 13
Time Zones and Datetime
- hard
- Pro