Procore Technologies Interview Question

Build an interpreter similar to React's JSX

Interview Answer

Anonymous

Aug 6, 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