ENCOUNTER
CodeChefOpen on judge ↗
After summer holidays,students of JNTUK-VZM are incurious during classes. So their professor decided to make them play a game in order to motivate them towards their academics.So the professor called two sets(equal number) of same height (heights in one set are repeated in other set). He asked one set of students to stand randomly and the other set to stand in the ascending order of their hei
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