Python for AI
The everyday Python behind data and model code: dicts, nesting, text, caches and small parsers.
Beginner · 19 problems · 0 passed · Background reading: Python Engineering for AI — Overview
- 01Count Item Frequencieseasy
- 02Deduplicate List Preserving Ordereasy
- 03Invert a Dictionaryeasy
- 04Chunk a List into Batcheseasy
- 05Clean and Tokenize Texteasy
- 06Flatten an Arbitrarily Nested Listeasy
- 07Run-Length String Compressioneasy
- 08Safe Nested Dictionary Traversaleasy
- 09Flatten Nested Dictionary with Delimitersmedium
- 10Merge Overlapping Intervalsmedium
- 11Streaming Sliding Window Meanmedium
- 12LRU Cache Operation Simulatormedium
- 13Prefix Tree (Trie) Simulatormedium
- 14Token Bucket Rate Limiter Simulatormedium
- 15Levenshtein Edit Distance Metricmedium
- 16Time-To-Live (TTL) Cache Simulatorhard
- 17Package Build Order and Cycle Resolverhard
- 18Recursive Pure-Python JSON Serializerhard
- 19Abstract Syntax Tree (AST) Evaluatorhard
Next track: NumPy & Data Wrangling