O'Reilly logo

Learning Functional Data Structures and Algorithms by Raju Kumar Mishra, Atul Khot

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required