Logos Interview Question

Write an algorithm to find duplicate nodes in a binary tree.