We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Itertools practice problems in Python
Difficulty:
Category:
Tag:
Showing 8 of 8
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| accumulate and pairwise: max drawdown in one pass | Easy | Primitives |
|
|
| batched: page a stream, and validate before you yield | Easy | Primitives |
|
|
| groupby: summarise rows without losing half of them | Medium | Primitives |
|
|
| itertools: take n across chunks without over-consuming | Easy | Primitives |
|
|
| Moving average twice: naive, cumulative-sum, and knowing which to use | Medium | End-to-End |
|
|
| Streaming pipelines end to end | Hard | End-to-End |
|
|
| The single-consumption contract | Medium | Primitives |
|
|
| zip(strict=True) and the silent-truncation bug | Easy | Primitives |
|