Amazon Interview Question

Describe difference between a Set and List - what are different ways of implementing them.

Interview Answer

Anonymous

Jun 10, 2011

Sets are unordered Lists are ordered Sets cannot contain duplicate entries Lists can contain duplicate entries