LeetCode Question · Jan 2022 · USA

Facebook | Frontend Engineer | OA | USA

2 upvotes 1,356 views 5 replies

Question Details

Can only use JavaScript. For a recursive description of DOM elements i.e. const dom = { type: \'div\', props: { id: \'hello\', children: [{ type: \'h1\', children: \'HELLO\' }] }, }; Define a function...

Full Details

🔒

Unlock all Meta questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a meta interview for a frontend role during the oa round reported in 2022.

It covers the following topics: Recursion .