Pergunta de entrevista da empresa Procore Technologies

Build an interpreter similar to React's JSX

Resposta da entrevista

Sigiloso

6 de ago. de 2018

I initially used a recursive function to traverse the string and create a tree with the HTML elements. It could have been done with a stack instead to avoid recursion though