An organisational hierarchy is represented in the form of a tree. The aim is to find the closest ancestor given any two nodes in the org tree. Demonstrates the use of recursive structures in Go along with BFS and DFS in trees.
An organisational hierarchy is represented in the form of a tree. The aim is to find the closest ancestor given any two nodes in the org tree. Demonstrates the use of recursive structures in Go along with BFS and DFS in trees.
MIT License