Pregunta de entrevista de General Motors (GM)

3 different questions, one was an SQL question