Array Yaar
CodeChefOpen on judge ↗
Aadarsh loves arrays. During his classes at NITT, he found himself bored out of his mind and decided to devise a problem involving arrays. One day at Orion, he decided to challenge his friends Sleva and Shoobum, who are noobs in solving array-based problems, with his new array problem. Both of them are clueless after accepting the challenge and are now seeking your help to solve the problem. The
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.
Sign in to chat with the tutor and save your progress.
Sign in to start