Skip to content

A stack data-structure implementation written in python.

License

Notifications You must be signed in to change notification settings

Liberontissauri/P-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

P-Stack

A stack data-structure implementation written in python.

Features

  • Basic stack operations
    • push() - add an element to the top of the stack;
    • pop() - remove an element from the top of the stack;
    • peek() - get the element at the top of the stack;
    • isfull() - Check if the stack is full;
    • isempty() - Check if the stack is empty;
    • reverse() - reverses the stack elements's order;
    • sort() - sorts the stack (lesser elements at the top and greater ones at the bottom);
    • top_to_bottom() - sends the top element of the stack to the bottom.

About

A stack data-structure implementation written in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages