Skip to content
Sharp

Core Collections · interview question

Which option describes the most likely pitfall around lists?

Multiple choiceEasychapter-3-curatedpremiumcore-collectionslists
Choose one answer
Answer and explanation

Correct answer

D. Treating every problem as a list can make lookup-heavy code slow and awkward.

Why

Treating every problem as a list can make lookup-heavy code slow and awkward. Calling out that risk matters because interviewers like candidates who connect the structure choice to the operations that dominate the workflow.

Test yourself on Core Collections

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

Start free test
All Core Collections questions →