Datadog Interview Question

Classic algorithmics questions using data structures