← All problemsSign in

Project with Alice and Bob

A company XYZ has launched a secret project, they want to keep this project hidden from as many people as possible. So, they have hired two expert engineers Alice and Bob. The company has a list of $N$ tasks. They want to complete these tasks in minimum possible time. Alice and Bob will work together simultaneously, So the company has decided that they will assign the first $X$ tasks to Alice and

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