Frage im Vorstellungsgespräch bei MathWorks

Hackerrank coding question included a binary tree search