This advanced course delves into understanding and applying Stacks and Queues in Ruby. It explains the internal workings, implementation, and complexities of these structures, emphasizing their effectiveness for solving interview-centric algorithmic challenges.
Overview
Syllabus
- Unit 1: Working with Stacks in Ruby
- Develop a Stack Push Method
- Simulating a Stack of Chairs in Ruby
- Unit 2: Working with Stacks in Ruby: Advanced Applications
- Balanced Brackets Mystery
- Reverse and Flip Case Using a Stack Function
- Unit 3: Exploring Stack-Based Problems and Solutions in Ruby
- Finding the Next Smaller Element in an Array
- Implement a Max Stack with Constant Time Retrieval
- Unit 4: Introduction to Queues in Ruby
- Roller Coaster Queue Management Task
- Simulating a Queue for Park Ride Visitors
- Unit 5: Advanced Queue Problems and Solutions in Ruby
- Alternate Ships Maneuver Through Hyperspace
- Enhancing Queue Manipulation with Moving Average in Ruby