← All problemsSign in

Hiring in Chefland

Well it is the hiring season in Chefland, and many hotels have decided to hire a chef.Let there be N such hotels which want to hire a chef and N such chefs which are searching for job.So, after conducting the interviews each hotel has prepared its own ordered list of chef according to their preferance and similarly, every chef has also prepared a ordered list of hotels according to his/her prefere

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