Frage im Vorstellungsgespräch bei ADP

Write a code to tell if the binary tree given is balanced using recursion