LearnPy Hub
← All topics
Topic Practice · Data Structures

Dictionaries problems

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

Review the Dictionaries lesson
✓1. Phone Book
4 test cases
EasyNot tracked
✓2. Letter Count
4 test cases
EasyNot tracked
✓3. Total Marks
4 test cases
EasyNot tracked
✓4. Swap Keys and Values
4 test cases
EasyNot tracked
✓5. Word Frequency
4 test cases
EasyNot tracked
✓6. Stock Check
4 test cases
EasyNot tracked
✓7. Zip Into a Dictionary
4 test cases
EasyNot tracked
✓8. Squares Dictionary
4 test cases
EasyNot tracked
✓9. Safe Lookup
4 test cases
EasyNot tracked
✓10. Keys in Order
4 test cases
EasyNot tracked
✓11. Update the Stock
4 test cases
EasyNot tracked
✓12. Remove an Entry
4 test cases
EasyNot tracked
✓13. Look Up a Capital
4 test cases
EasyNot tracked
✓14. Names and Marks
4 test cases
EasyNot tracked
✓15. Add a New Entry
4 test cases
EasyNot tracked
✓16. All the Keys
4 test cases
EasyNot tracked
✓17. Sum of the Values
4 test cases
EasyNot tracked
✓18. Print Each Pair
4 test cases
EasyNot tracked
✓19. Is the Key There?
4 test cases
EasyNot tracked
✓20. Add to a Score
4 test cases
EasyNot tracked
✓21. How Many Entries?
4 test cases
EasyNot tracked
✓22. Remove a Key
4 test cases
EasyNot tracked
✓23. Group by Grade
4 test cases
MediumNot tracked
✓24. Merge Sales
4 test cases
MediumNot tracked
✓25. Most Common Word
4 test cases
MediumNot tracked
✓26. Student Records
4 test cases
MediumNot tracked
✓27. Leaderboard
4 test cases
MediumNot tracked
✓28. Letter Positions
4 test cases
MediumNot tracked
✓29. Words by Length
4 test cases
MediumNot tracked
✓30. Top Scorer
4 test cases
MediumNot tracked
✓31. Group by First Letter
4 test cases
MediumNot tracked
✓32. Average per Student
4 test cases
MediumNot tracked
✓33. Who Lives Where?
4 test cases
MediumNot tracked
✓34. Election Winner
4 test cases
MediumNot tracked
✓35. Word-by-Word Translation
4 test cases
MediumNot tracked
✓36. Account Balances
4 test cases
MediumNot tracked
✓37. Letters by Frequency
4 test cases
MediumNot tracked
✓38. Average per Subject
4 test cases
MediumNot tracked
✓39. Items Over a Price
4 test cases
MediumNot tracked
✓40. Where Was It First Seen?
4 test cases
MediumNot tracked
✓41. Two Sum
4 test cases
HardNot tracked
✓42. Anagram Groups
4 test cases
HardNot tracked
✓43. Roman Numerals
6 test cases
HardNot tracked
✓44. Inventory
4 test cases
HardNot tracked
✓45. Pair Frequency
4 test cases
HardNot tracked
✓46. Sales by Region and Product
4 test cases
HardNot tracked
✓47. Which Lines Use Each Word?
4 test cases
HardNot tracked
✓48. Runs That Add Up to k
5 test cases
HardNot tracked
✓49. Who Takes Each Subject?
4 test cases
HardNot tracked
✓50. Where Do Anagrams Start?
4 test cases
HardNot tracked
← Back to all topics
Dictionaries practice problems · LearnPy Hub