← All problemsSign in

Cheeku and his Teammates

Cheeku is a good batsman but nowadays things are going $odd$ in his life that’s why he doesn't like the word $odd$, so to tease him, his teammates gave him a number $N$ and told him to assume an array $A$ of size $N$ containing first $N$ odd numbers in sorted manner i.e. $A = \{1,3,5,7….(2*N-1)\}$. But Cheeku doesn't like the word $odd$, so he came up with a way to reduce $odd$ numbers from th

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