Frage im Vorstellungsgespräch bei Logos

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