Datadog Interview Question

regular interview questions on algorithms