JSON to HTML

Convert a nested JSON object describing a DOM structure into actual HTML elements and render them.

Asked in frontend interviews at Google, Amazon, Flipkart and 2 more