Python Get Root Path Definition Data Structures And Algorithms