Skip to content

izacabral/sorting_stacks

Repository files navigation

Sorting_Stacks

An algorithm to sort data using two stacks, with a limited set of movements. The goal was to get the fewest number of moves. With this project, I improved my logic programming, learned more about data structure, and starts learning about Complexity.


Install

git clone https://git@github.com:izacabral/sorting_stacks.git

Usage (MacOS)

  1. Run make to compile program

  2. Run the program passing the numbers to sort

./stack_sorting 3 1 8 7 5

stack


Movements

ss rr rrr pb pa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published