Coding

How to find common ancestors in a tree?

Did you come across this question in an interview?

Interview question asked to Data Scientists interviewing at Reddit, Audible, Akamai and others: How to find common ancestors in a tree?.