• Published on
    Imagine you want to give Sarah some numbers as gifts for her birthday. The numbers you give cannot be negative. Sarah has a preference for arranging her gifts in ascending order, so she wants them sorted from smallest to largest, in such a way that each gift is exactly 1 larger than the previous one.