Skip to content
Sharp

Python Internals · interview question

Which judgment is strongest when choosing a data shape for reference counting and gc?

Multiple choiceHardchapter-19-curatedpremiumpython-internalsreference-counting-and-gc
Choose one answer
Answer and explanation

Correct answer

A. Pick the structure that matches the business meaning and the operations you need to perform repeatedly.

Why

The right shape makes the rest of the code simpler. The wrong shape forces awkward fixes everywhere else.

Test yourself on Python Internals

A free test with instant, explained results. No account needed.

Start free test
All Python Internals questions →