Print even numbers in a range with a twist
Filed under Genpact
The question
Print the even numbers in a range with a small modification the candidate does not remember.
No write-up yet. Related questions below have one.
Related Genpact questions
Collected from public candidate posts and coding forums. Updated Nov 2026.