8x8 interview question

DS and Javascript questions