DataDesk
All topics
Lists — practice · DataDesk
DataDesk
How it works
Scenarios
Practice
For trainers
Pricing
Log in
Start free
Python
Lists
Indexing, slicing, sorting and list methods.
0
/ 20 solved
All levels
Basic (7)
Intermediate (7)
Advanced (6)
All
To do
Solved
1
Sum of a list
Basic
2
Largest and smallest
Basic
3
First and last
Basic
4
Average marks
Basic
5
Last n items
Basic
6
Sort without changing the input
Basic
7
Count occurrences
Basic
8
Remove duplicates, keep order
Interview
Intermediate
9
Second largest
Interview
Intermediate
10
Rotate a list
Intermediate
11
Flatten one level
Intermediate
12
Chunk a list
Intermediate
13
Merge two sorted lists
Interview
Intermediate
14
Running total
Intermediate
15
Move zeros to the end
Interview
Advanced
16
Missing number
Interview
Advanced
17
Maximum subarray sum
Interview
Advanced
18
Pair with target sum
Interview
Advanced
19
Stock buy and sell
Interview
Advanced
20
Matrix transpose
Advanced