3. Linear StructuresΒΆ
- 3.1. Objectives
- 3.2. What Are Linear Structures?
- 3.3. What is a Stack?
- 3.4. The Stack Abstract Data Type
- 3.5. Using a Stack in C++
- 3.6. Simple Balanced Parentheses
- 3.7. Balanced Symbols - A General Case
- 3.8. Converting Decimal Numbers to Binary Numbers
- 3.9. Infix, Prefix and Postfix Expressions
- 3.10. What Is a Queue?
- 3.11. The Queue Abstract Data Type
- 3.12. Using a Queue in C++
- 3.13. Simulation: Hot Potato
- 3.14. Simulation: Printing Tasks
- 3.15. What Is a Deque?
- 3.16. The Deque Abstract Data Type
- 3.17. Using a Deque in C++
- 3.18. Palindrome-Checker
- 3.19. Summary
- 3.20. Discussion Questions
- 3.21. Programming Exercises
- 3.22. Glossary