Pregunta de entrevista de Alpine Data Labs

Nothing hard. Simple algorithms and also Scala syntax