← All problemsSign in

Sarthak VS Aman

Sarthak is the topper of CSE in AIT. However, his friend Aman has been an equal competitor throughout. They love Mathematics to the core! Especially playing with numbers all day and night. But due to some unknown reason Sarthak develops OCD and starts hating even numbers.He writes N numbers on a paper (odd and even numbers) and then, he modifies only even numbers (because of his OCD) and inverts i

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start