Pergunta de entrevista da empresa General Motors (GM)

Distance of two points given a string of numbers.