General Motors (GM) interview question

Q: Coding assessment. Tested knowledge of basic programming skills