Painter Problem- Sorting and searching challenges

I am not able to understand what the question is asking exactly. Can two painters paint one board ? or is this question like book allocation problem, i.e. a board is completely painted by one painter only??

Hello @priyanshi.agarwal3405

A board can be painted by one painter only.
Test Case
2 - Number of boards
2 - Number of painters
5 - Time it will take to paint 1 unit of a board
1 10 - Length of boards

So there are two painters
If we allot both the boards to one painter, it will take 55 ((10 + 1)*5) minutes of time
But if we allot board of length 1 to one painter and board of length 10 to the other, it will take 5 minutes by the first and 50 by the other, but the it will take to paint the boards is 50 minutes as all the painters work in parallel.

Okay sir, Thank you so much!!