Sollicitatievraag bij Datadog

Binary tree question which was somewhat basic