Pregunta de entrevista de Flatiron Health

there were two leetcode mediums