Hudson River Trading interview question

Differences between List and Set in Python

Interview Answer

Anonymous

Feb 8, 2025

Set contains only unique elements; List allows duplicates. Items in List are ordered, so they can be accessed by index.