Pergunta de entrevista da empresa Vanta

Parse a complicated problem statement with your mind and the write 3-4 if statements. Next traverse a nested class object, and for any given node return all children