Building the thing

Push_swap is not a very difficult project in terms of code construction. You will see that it doesn't need many steps to finish it. The hardest part is to find a solution to the problem and to to construct its algorithm.

As usual, in this page I will make checklists for you to succeed push swap at best

Main Checklist

Error Checklist

There are a lot of errors to handle in push_swap. Don't forget any of them!

Instructions Checklist

This checklist will help you to verify that you have coded all the instructions (11) to use them in your algorithms (next step). If you don't understand what these functions do you can check the main page of push_swap where you will be given a better explanation

Algorithm/Sort Checklist

And obviously at the end check if everything is correct ! No leaks should be present, remember to always free the allocated memory when you are not using it anymore.

And that's it... Good luck with the code! If you have any other questions don't hesitate to contact me (Laura), and I'll be happy to help you :)

Last updated