LearnPy Hub
← All topics
Topic Practice · Data Structures

Lists problems

50 problems: 22 Easy, 18 Medium, 10 Hard.

Review the Lists lesson
✓1. Maximum Element
3 test cases
EasyNot tracked
✓2. Sum and Average
4 test cases
EasyNot tracked
✓3. Minimum Element
4 test cases
EasyNot tracked
✓4. Reverse the List
4 test cases
EasyNot tracked
✓5. Count Positives
4 test cases
EasyNot tracked
✓6. Sort the List
4 test cases
EasyNot tracked
✓7. Squares List
4 test cases
EasyNot tracked
✓8. Is It in the List?
4 test cases
EasyNot tracked
✓9. First and Last
4 test cases
EasyNot tracked
✓10. Change the List
4 test cases
EasyNot tracked
✓11. How Many Times?
4 test cases
EasyNot tracked
✓12. Drop the Ends
4 test cases
EasyNot tracked
✓13. Largest Element
4 test cases
EasyNot tracked
✓14. How Many Items?
4 test cases
EasyNot tracked
✓15. Add to the End
4 test cases
EasyNot tracked
✓16. Where Is It?
4 test cases
EasyNot tracked
✓17. Remove an Item
4 test cases
EasyNot tracked
✓18. Join Two Lists
4 test cases
EasyNot tracked
✓19. The First n Items
4 test cases
EasyNot tracked
✓20. Take the Last One Off
4 test cases
EasyNot tracked
✓21. Every Other Item
4 test cases
EasyNot tracked
✓22. Insert at the Front
4 test cases
EasyNot tracked
✓23. Second Largest
4 test cases
MediumNot tracked
✓24. Remove Duplicates
3 test cases
MediumNot tracked
✓25. Split Even and Odd
4 test cases
MediumNot tracked
✓26. Rotate Left
4 test cases
MediumNot tracked
✓27. Running Sums
4 test cases
MediumNot tracked
✓28. Merge Two Lists
4 test cases
MediumNot tracked
✓29. Pairs That Add Up
4 test cases
MediumNot tracked
✓30. Chunks
4 test cases
MediumNot tracked
✓31. Second Smallest
4 test cases
MediumNot tracked
✓32. Best So Far
4 test cases
MediumNot tracked
✓33. Differences Between Neighbours
4 test cases
MediumNot tracked
✓34. Interleave Two Lists
4 test cases
MediumNot tracked
✓35. Sort by Size, Ignoring the Sign
4 test cases
MediumNot tracked
✓36. Remove Repeats, Keep Order
4 test cases
MediumNot tracked
✓37. Rotate Right by k
4 test cases
MediumNot tracked
✓38. The Missing Number
4 test cases
MediumNot tracked
✓39. Already Sorted?
4 test cases
MediumNot tracked
✓40. Above the Average
4 test cases
MediumNot tracked
✓41. Biggest Rise
4 test cases
HardNot tracked
✓42. Zeros to the End
4 test cases
HardNot tracked
✓43. Most Frequent
4 test cases
HardNot tracked
✓44. Row and Column Totals
4 test cases
HardNot tracked
✓45. Group Equal Neighbours
4 test cases
HardNot tracked
✓46. Largest Sum of Neighbours
5 test cases
HardNot tracked
✓47. Product of All the Others
5 test cases
HardNot tracked
✓48. Longest Rising Run
5 test cases
HardNot tracked
✓49. Trapped Rain Water
5 test cases
HardNot tracked
✓50. Next Bigger Number to the Right
5 test cases
HardNot tracked
← Back to all topics
Lists practice problems · LearnPy Hub