Emre Can Okten

46%
Flag icon
The Stack or Queue should be preferred when the flexibility of List isn't needed. Using a simpler ADT ensures data is handled in a strict and robust way (FIFO or LIFO). It also makes the code easier to understand: knowing a variable is a Stack helps to see how data flows in and out.
Computer Science Distilled: Learn the Art of Solving Computational Problems (Code is Awesome)
Rate this book
Clear rating