PROS interview question

Generate sequences.