DataDesk
All topics
Lambda, map, filter & sorted — practice · DataDesk
DataDesk
How it works
Scenarios
Practice
For trainers
Pricing
Log in
Start free
Python
Lambda, map, filter & sorted
Small functions and functional tools.
0
/ 20 solved
All levels
Basic (6)
Intermediate (7)
Advanced (7)
All
To do
Solved
1
Your first lambda
Basic
2
Filter with lambda
Basic
3
Sort by length
Basic
4
Sort by a field
Basic
5
Max by key
Basic
6
Map two lists
Basic
7
Sort with two keys
Intermediate
8
Reduce to a product
Intermediate
9
Filter then map
Intermediate
10
Sort dict items
Intermediate
11
Case-insensitive sort
Intermediate
12
Any and all
Intermediate
13
Sort by last name
Intermediate
14
Group with itertools
Advanced
15
Compose functions
Advanced
16
Top k frequent words
Interview
Advanced
17
Partial application
Advanced
18
Sort intervals and merge
Interview
Advanced
19
Min with a custom rule
Advanced
20
Pipeline of transformations
Advanced