ascending-check-uses-sentinel-minus-one

Status: IN

`areNumbersAscending` initializes `prev = -1`, relying on the constraint that all numbers are positive integers (1–200); any other sentinel could break the first comparison

Source: entries/2026/06/06/check-if-numbers-are-ascending-in-a-sentence-solution.md

Depended on by

JSON