26 ms·
you are right about any tree traversal would have done, but its not a lot of time and if you end up stuck you dont have a lot of time to backtrack. a lot of gr
by autokad 8y ago
you are right about any tree traversal would have done, but its not a lot of time and if you end up stuck you dont have a lot of time to backtrack.
a lot of great data scientists dont even know how to use python, let alone implement a tree and tree traversal. there is so much more interesting and pertinent stuff I spend my cycles on learning / keeping in my head than undergrad cs bs.