Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maricard18/42-push_swap
Algorithm sorting project
https://github.com/maricard18/42-push_swap
42 42born2code 42cursus 42porto 42portugal 42projects 42school algorithm pushswap pushswap-42 pushswap42 sorting-algorithms
Last synced: 25 days ago
JSON representation
Algorithm sorting project
- Host: GitHub
- URL: https://github.com/maricard18/42-push_swap
- Owner: maricard18
- Created: 2023-04-07T09:14:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T23:36:33.000Z (about 1 year ago)
- Last Synced: 2024-11-09T05:18:48.585Z (3 months ago)
- Topics: 42, 42born2code, 42cursus, 42porto, 42portugal, 42projects, 42school, algorithm, pushswap, pushswap-42, pushswap42, sorting-algorithms
- Language: C
- Homepage:
- Size: 1.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# push swap
## Sort Data
This project will make you sort data on a stack, with a limited set of instructions, using
the lowest possible number of actions.
To succeed I had to manipulate various
types of algorithms and choose the most appropriate solution (out of many) for an
optimized data sorting. This project is in rank 2 of 42 common core and was graded with the score of 84/100.
-> [Subject here](https://github.com/maricard18/42-push_swap/blob/main/extras/en.subject.pdf)## How To Use
To clone and run this project, just follow this instructions
```bash
# Clone this repository
$ git clone https://github.com/maricard18/42-push_swap# Go into the repository
$ cd push_swap# Run make command
$ make# Run the executable along with the number sequence of your choice
$ ./push_swap 5 2 1 4 7 8 3 0
```---
> GitHub [@maricard18](https://github.com/maricard18) ·
> Linkedin [Mario Henriques](https://www.linkedin.com/in/mario18) ·
> [42 Porto](https://www.42porto.com/en)