HashedIn by Deloitte interview question

Lowest Common Ancestor in a binary tree