A famous problem from the CSES Problem set, and thoroughly enjoyed the solution.
No download links available.