Next n leap years after a given year
Filed under Raja Software Labs
The question
Given a year and n, return the next n leap years after that year (year 1, n 4 gives 4, 8, 12, 16).
No write-up yet. Related questions below have one.
Related Raja Software Labs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.