Question d’entretien chez Ankush

Write a code for the path from a given node to root node.