The Great Fellowship Test
CodeChefOpen on judge ↗
In a college, a vacancy exists for the post of Mathematics fellowship. Numerous applications were received for the post, so the management decided to conduct a test. The candidates will have to solve the task given below: Each candidate is given an array of integers. They can change the order of the integers. It can be done in such a way that after the interchange of elements the new elements mus
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