Pregunta de entrevista de Palantir Technologies

Algorithmic problem to solve sequence and calculate row in a given structure