Pergunta de entrevista da empresa Microsoft

Given a JSON object, Normalise it so that it can be traversed in min time.