Frage im Vorstellungsgespräch bei Finoit

In second round the two questions were based on binary tree. Pretty complex.