Pregunta de entrevista de Capital One

its all about complex questions in java related to binary tree etc.