Datadog interview question

Data structures and algorithms type questions