← All problemsSign in

AN IT COMPANY

AN IT COMPANY An IT company has decided to divide the work into its ‘n’ employees. So, each working day will be divided into m shifts, every employee will have to work for only one shift in a day (shift numbers from 1 to m). Only ‘k’ employees can work in the office in every shift. Every employee has a preferred shift for work. Every employee will work in his/her preferred shift if the shift is

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