Pergunta de entrevista da empresa General Motors (GM)

Leetcode easy something about finding values in an array with the same first number as other items last number ex [21, 13]