Discuss Python mutability, copying, and GIL
Company: TikTok
Role: Software Engineer
Category: Data Manipulation (SQL/Python)
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of Python mutability and copying semantics — including how mutable versus immutable objects affect function arguments and container behavior — and knowledge of the Global Interpreter Lock (GIL) and concurrency models.