Coder Social home page Coder Social logo

push_swap's Introduction

PUSH_SWAP

Another school project.

The goal of this project is to sort stack A using stack B.

The only difference from the known sorting methods is the presence of special rules of the algorithm and the speed of execution.

Project was created on the [MacOs], so all Makefile's rules will be runned well only on this OS. If you use any of Linux distro's, you probably will face lot's of link problems. Sorry, eh! ๐Ÿ‡จ๐Ÿ‡ฆ

Make sure you've installed SDL.h

brew install sdl2

Start

git clone https://github.com/ksnow-be/Push_swap.git; cd Push_swap; make;

Usage

Then, to execute the vizualization of the process run this magic bash script.

./start.sh VAL1 VAL2

Where:

VAL1 - start point of the randomizer
VAL2 - finish point of the randomizer

Please notice that the maximum amount of params can't be greather than 1000.

Conclusion

So, this manual describes the fastest and most pleasant way to observe the execution of the algorithm. If you are not a 42 student, I think you are not interested in the details of the push_swap and checker programms. If you are an employee and consider this project as part of my resume - all the details of the project I will explain to you at the meeting.

GIPHY ๐Ÿฅ

push_swap's People

Contributors

ksnow-be avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.