Pergunta de entrevista da empresa Aurora Innovation

Coding question to build a dom tree with only using Node.