Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.37 KB

push_swap

42-push_swap

Introduction

This project asks me to sort data on a stack, with a limited set of instructions, using the smallest possible number of actions. To succeed, I need to manipulate different types of algorithms and choose the most appropriate solution (from among several) for optimized data sorting.

At 42 School, almost every project must be written in accordance to the Norm, the school's coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.

⚡ Usage

To use this project, compile the project and :

Run the program with random numbers :

$ ./push_swap 2 1 3 6 5 8

🔌 Installation

To install the project, clone this repository :

$ git@github.com:julienhouyet/42-push_swap.git

📦 Commands

To compile the project, run :

$ make

To re-compile the project :

$ make re

To wipes all object files :

$ make clean

To delete the project and all object files

$ make fclean