← All problemsSign in

Array

Ram and shyam are two students who love to code. ram is good at array data structure. shyam is not good at array data structure and thus he asked ram to teach him . ram taught him and now he has given shyam an array question for homework . shyam is facing trouble in solving this question so he asks his genious friend - you! You are given an array of size of even number. you have to modify the arr

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