Chapter 9. Streams, Laziness, and Algorithms
You have visited a new city to attend an important business meeting. You started your journey early in the morning because this meeting is very important for business and you want to be on time for meeting. You reached the new town and started to feel hungry. So, you looked for some restaurants and, fortunately, you found one with a very good ambiance and soothing instrumental music. As you started flipping the menu, you were attended by a waiter. Very soon you found your favorite dish. The waiter took the order and, to your surprise, the food had been served within few seconds. Somehow, you tasted the food and found that it was tasteless and not been prepared fresh. You complained about it and asked the waiter for fresh food. But the waiter replied that they always cook the food in the morning to be served later, the whole day. Somehow, you ate the food and moved on for the meeting.
In the meeting, you were asked to present sales reports of the...