← All problemsSign in

Father and Son

You are the heir of XYZ company.Your father wants to make you the CEO of the company.He wants to test your skills to check whether your are good enough to manage the company and employees.He gives you a simple problem to solve.The problem is you have N persons working under you and you have N jobs that are to be done by these persons. Each person has to do exactly one job and each job has to be do

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