Given a hierarchical tree structure representing a Head of Department (HOD), professors, and assistant professors, write a function to return or print all subordinates under a given HOD input.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.