Liftoff interview question

valid sequence question with growing sequence.