Datadog interview question

It was Dictionary, tree recursion