GreedyGame interview question

Developing Data Collection Tree API in golang/ python Trees and Hash-map