Datadog interview question

Multiple coding challenges based on LeetCode.