General Motors
3.3 of 5 775 reviews
www.gm.com Detroit, MI 5000+ Employees

General Motors Senior Software Developer Interview Question

I interviewed in Detroit, MI and was asked:
"What is the difference between a Set and a List?"
Add Tags [?]
Answer Flag Question

Part of a Senior Software Developer Interview Review - one of 271 General Motors Interview Reviews

Answers & Comments

0
of 3
votes
As set allows duplicate object values. A list doesn't
- Interview Candidate on Mar 29, 2013 Flag Response
0
of 1
vote
set has unique elements (no duplicates) and is not ordered
list is ordered and can contain duplicates
- ummm on Apr 07, 2013 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Tags are like keywords, helping to categorise interview questions that have something in common.

Glassdoor is your free inside look at General Motors interview questions and advice. All interview reviews are posted anonymously by General Motors employees and interview candidates.