Smarter Use of Toaster!
What was the task given?
Jasmine has 3 pieces of bread and she want to toast total 6 sides of toasts. Since, the toaster can toast 2 sides (in two slots) at a time in 1 minute, she needs only 3 minutes to toast all her 3 pieces. All that she need to do use the toaster smartly.
Let A-B, C-D and E-F be the names of sides of toast that Jasmine has.
1. She puts 2 pieces - A-B and C-D in the two slots of toaster so that 2 sides say A and C are toasted but B and D remains untoasted. 1 minute used in the process.
2. For next minute, she takes out 1 piece say C-D and puts E-F in toaster while she flips A-B so that B is toasted. With that, B and E are toasted in this minute.
3. Now, only F and D are remain untoasted. In third minute, using 2 slots of toaster she toasts these 2 sides.
Comments
Post a Comment