← All problemsSign in

Form Up on me

There is a Pubg tournament in the University and you are given the array of skill sets of all the Pubg players in **DCRUST**. Each index(i) represents a player in the array.And value at the ith index represents the value of the skill ith player have. K number of **duos(team of two)** should be formed and each team is formed from the given range of students **L to R (inclusive of L and R)*

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