← All problemsSign in

MINMAX

Gaurav and Vivek are best friends. They like to play games together. In this lockdown period, while they were getting bored, they started searching for something to play online and they found a very interesting game. In the game, both Vivek and Gaurav are given two arrays named $A$ of length $N$ and $B$ of length $M$ respectively. But Vivek wants that the minimum value of his array should be at le

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