Skip to content

alorber/DSA-Stacks_Queues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

DSA Stacks & Queues

This is an implementation of stacks and queues for Data Structures and Algorithms project 1.

The aim of this project was to develop a program that would use data structures to implement a stack and queue. The program would ask the user for an input and output file and then process each instruction in the input file. The possible instructions are:

  1. Create (name) (stack/queue): A stack or queue with the specified name should be created. If it has already been created, the program should throw an error.
  2. Push (name) (value): The value should be pushed to the specified stack or queue. If it does not exist then the program will throw an error.
  3. Pop (name): Pops a value from the specified stack or queue. If it does not exist then the program will throw an error.

Releases

No releases published

Packages

No packages published

Languages