Elastic interview question

Live coding: design an algorithm that will take a nested javascript object and condense it into a single level, with the nested keys separated by periods.

Interview Answer

Anonymous

16 Feb 2018

Designed a recursive algorithm to perform the task. Worked beautifully.

1