Arista Networks Interview Question

Print out a tree’s nodes with depth first search.