General Motors (GM) interview question

more about data structures and algorithms