Our Chef is catering for a big corporate office party and is busy preparing
different mouth watering dishes. The host has insisted that he serves his delicious
cupcakes for dessert.
On the day of the party, the Chef was over-seeing all the food arrangements as well,
ensuring that every item was in its designated position. The host was satisfied with
everything except the cupcakes. He noticed they were arranged neatly in the shape of
a rectangle. He asks the Chef to make it as square-like as possible.
The Chef is in no mood to waste his cupcakes by transforming it into a perfect
square arrangement. Instead, to fool the host, he asks you to arrange the N cupcakes
as a rectangle so that the difference between the length and the width is minimized.
This is a(n):
Details:
Our Chef is catering for a big corporate office party and is busy preparing different mouth watering dishes. The host has insisted that he serves his delicious cupcakes for dessert.
On the day of the party, the Chef was over-seeing all the food arrangements as well, ensuring that every item was in its designated position. The host was satisfied with everything except the cupcakes. He noticed they were arranged neatly in the shape of a rectangle. He asks the Chef to make it as square-like as possible.
The Chef is in no mood to waste his cupcakes by transforming it into a perfect square arrangement. Instead, to fool the host, he asks you to arrange the N cupcakes as a rectangle so that the difference between the length and the width is minimized.