Pregunta de entrevista de Uber

leetcode medium problem and an ml problem