Avataar interview question

DS and Algorithm based interview