Home โ€บ Learning paths โ€บ Interview Practice

๐Ÿ’ผ Interview Practice โ€” learning path

๐Ÿ’ผ Job-ready16 problemsFree ยท no login needed

What this path teaches

The greatest hits interviewers actually ask: mutable defaults, shared class variables, list aliasing, for/else, finally vs return, and duplicate dict keys. Each one looks trivial and hides a language rule โ€” exactly why they get asked.

By the end: You can walk into a Python screening round having already seen the trick questions.

Your progress

0 of 16 opened

Start the path โ†’

The problems, in order

  1. 1Mutable default argument trap
    ๐Ÿ”ฎ Predict the output ยท medium
  2. 2Class variable shared across instances
    ๐Ÿ”ฎ Predict the output ยท medium
  3. 3List copy vs reference
    ๐Ÿ”ฎ Predict the output ยท easy
  4. 4List multiplication
    ๐Ÿ”ฎ Predict the output ยท medium
  5. 5Loop variable after the loop ends
    ๐Ÿ”ฎ Predict the output ยท medium
  6. 6else clause on a for loop
    ๐Ÿ”ฎ Predict the output ยท medium
  7. 7Finally block runs even after return
    ๐Ÿ› Fix the bug ยท medium
  8. 8Dictionary keys must be unique
    ๐Ÿ”ฎ Predict the output ยท medium
  9. 9Dictionary get with a default
    ๐Ÿ”ฎ Predict the output ยท medium
  10. 10Sorting doesn't return a new list
    ๐Ÿ› Fix the bug ยท medium
  11. 11Slicing with the wrong direction
    ๐Ÿ› Fix the bug ยท medium
  12. 12Tuple immutability
    ๐Ÿ”ฎ Predict the output ยท easy
  13. 13Set removes duplicates automatically
    ๐Ÿ”ฎ Predict the output ยท easy
  14. 14Default parameter values
    ๐Ÿ”ฎ Predict the output ยท medium
  15. 15try-except-else flow
    ๐Ÿ”ฎ Predict the output ยท medium
  16. 16String multiplication and indexing
    ๐Ÿ”ฎ Predict the output ยท easy

How to work a path

Do the problems in order โ€” each one assumes the rule taught by the one before it. Open a problem, try it in the interactive editor, and only then read the explanation. Progress is saved in this browser automatically (signed-in solves also earn XP and streaks). One path per week is a solid pace; finishing in a single sitting is allowed but not required.