Pregunta de entrevista de Bloomberg

leetcode medium style questions in the technical rounds