Amazon interview question

Was asked to flatten nested object

Interview Answers

Anonymous

Apr 4, 2021

use flatMap() or flat() in general

Anonymous

Apr 6, 2021

They insisted to implement it on our own, It involves recurssion

12