Tell me how mutable data types in Python differ from immutable ones. Give examples and explain why it matters in practice.
~4 min by voice
How to approach it
They're checking whether the candidate understands Python's model of objects and references and can connect mutability to real bugs: shared references, side effects in functions, and restrictions on dict/set keys.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.