|
Build a JSON Converter Other Code Can Extend
|
Hard
|
Primitives
|
|
|
Build a Task Queue That Keeps Arrival Order for Ties
|
Medium
|
Primitives
|
|
|
Cache a Report Total Until You Clear It
|
Medium
|
Primitives
|
|
|
Change an Attribute for One Block and Put It Back
|
Medium
|
Primitives
|
|
|
Close a Stream Only If You Opened It
|
Easy
|
Primitives
|
|
|
Compute a Rolling Median with a Bounded deque
|
Medium
|
Primitives
|
|
|
Count and Total Rows per Key with groupby
|
Medium
|
Primitives
|
|
|
Count N-Grams and Break Ties with Counter
|
Easy
|
Primitives
|
|
|
Decode a Three-Bit Permission Mask
|
Medium
|
Primitives
|
|
|
Find Every Unpicklable Value in a Nested Payload
|
Medium
|
Framework
|
|
|
Find Large Files Without Entering Skipped Folders
|
Medium
|
Primitives
|
|
|
Find Mutable Defaults That Instances Share
|
Easy
|
Primitives
|
|
|
Find the Files Missing from a Wheel
|
Easy
|
Framework
|
|
|
Find the First Error with a Generator
|
Easy
|
Primitives
|
|
|
Find the Largest Drop from a Running Peak
|
Easy
|
Primitives
|
|
|
Find the Next Daily Run in a Time Zone
|
Hard
|
Primitives
|
|
|
Format Table Rows and Money Amounts
|
Easy
|
Primitives
|
|
|
Give a Class Its Own Format Codes
|
Medium
|
Primitives
|
|
|
Give Each Object Its Own Cache
|
Medium
|
Primitives
|
|
|
Group Rows by Key and Return a Plain dict
|
Easy
|
Primitives
|
|
|
Hide Secret Fields When You Print a Record
|
Medium
|
Primitives
|
|
|
Keep a Joined Path Inside Its Root Folder
|
Easy
|
Primitives
|
|
|
Line Up Receipt Columns with f-Strings
|
Easy
|
Primitives
|
|
|
Load a Server Config and Report the First Bad Setting
|
Medium
|
Primitives
|
|
|
Log from a Library the Right Way
|
Easy
|
Primitives
|
|
|
Merge Overlapping Ranges with a NamedTuple
|
Medium
|
Primitives
|
|
|
Migrate a Status Enum to StrEnum
|
Medium
|
Primitives
|
|
|
Open a List of Resources and Close Them All
|
Hard
|
Primitives
|
|
|
Page Records and Check the Size at Call Time
|
Easy
|
Primitives
|
|
|
Parse Records in Batches with a Generator
|
Medium
|
Primitives
|
|
|
Release a Connection However the Stream Ends
|
Hard
|
Primitives
|
|
|
Resolve a Setting and Report the Layer It Came From
|
Medium
|
Primitives
|
|
|
Retry a Flaky Call and Preset Arguments with partial
|
Medium
|
Primitives
|
|
|
Show Values with repr and str in f-Strings
|
Easy
|
Primitives
|
|
|
Sort Version Numbers with a Dataclass
|
Easy
|
Primitives
|
|
|
Sort Version Strings with Pre-Releases First
|
Medium
|
Primitives
|
|
|
Speed Up Edit Distance with a Cached Helper
|
Medium
|
Primitives
|
|
|
Take n Items Across Chunks Without Reading Ahead
|
Easy
|
Primitives
|
|
|
Tell Fields Apart from Class Variables
|
Easy
|
Primitives
|
|
|
Trace a Log Record Up the Logger Tree
|
Medium
|
Framework
|
|
|
Turn Log Fields into JSON-Safe Data
|
Hard
|
Framework
|
|
|
Work Out the First Entry on sys.path
|
Medium
|
Framework
|
|