Computer Science, asked by jaypalsinh1740, 9 months ago

Ou are a teacher in reputed school. during celebration day you were assigned a task to distribute cadbury such that maximum children get the chocolate. you have a box full of cadbury with different width and height. you can only distribute largest square shape cadbury. so if you have a cadbury of length 10 and width 5, then you need to break cadbury in 5x5 square and distribute to first child and then remaining 5x5 to next in queue

Answers

Answered by tvisha2
0
Yes this will do maximum children would get the chocolate but they will be upset of getting such a small piece
Similar questions