Pregunta de entrevista de HashedIn by Deloitte

Write code to findPath from root to leaf node whose sum is equal to given number