Datadog Interview Question

Standard stuff. LC easy and medium