← All problemsSign in

Easy Sort

Thor is almighty but he get indulge in fight too much what his farther Odin don't like. So he took back all his powers along with Mjolnir (Thor's hammer ) .Thor can get his power back if he solves odin's problem but he is very weak in programming so he want you to solve that problem . You are given an array having $N$ elements A_[1] , A_[2]..........A[N]. You are first asked to increment each e

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