Pregunta de entrevista de HashedIn by Deloitte

Time complexity problems, trees and graph question