Datadog Interview Question

Some coding exercises, nothing too difficult.