Amazon interview question

Was asked to flatten nested object

Interview Answers

Anonymous

4 Apr 2021

use flatMap() or flat() in general

Anonymous

6 Apr 2021

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

12