(D) The Vacation
CodeChefOpen on judge ↗
Radhey wants to go on vacation with his friends and he wants permission from his dad to go. Since he is not doing well in his studies and his father is not happy with his performance. His dad gave a him a problem and said that if you solve it then only you can go. The problem is: A median in an array with length $N$ is an element which holds following
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