Skip to content

an open source little project for data structure assignments and code examples

License

Notifications You must be signed in to change notification settings

HossamSamir/school-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

school-stuff

an open source little project for data structure assignments and code examples

What is a stack!?

a stack is a data structure used to store a collection of objects. Individual items can be added and stored in a stack using a push() method. Objects can be removed using a pop() method, which removes an item from the stack.

source code (push() - pop() - isEmpty() - isFull() - peek() - display())

What is a stack!?

What is a Queue!?

Queue is an abstract data structure, somewhat similar to Stacks. Unlike stacks, a queue is open at both its ends. One end is always used to insert data (enqueue) and the other is used to remove data (dequeue). Queue follows First-In-First-Out methodology, i.e., the data item stored first will be accessed first.

source code (enqueue() - dequeue() - isEmpty() - isFull() - peek() - display())

What is a Queue!?

About

an open source little project for data structure assignments and code examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages