Hacker News new | ask | show | jobs
by ajuc 5450 days ago
You just go the whole way up to the root node counting parents (taking max length when there are many routes), no problem with amiguity. The problem is - it's slow.