Bloomberg interview question

leetcode question from their tagged - medium