Pregunta de entrevista de JANE

Advanced Data Structure , binary tree and Dynamic programming related question.