vkinnune / 42-push_swap

The Push_swap project is a very simple and highly effective algorithm project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42-push_swap

The Push_swap project is a very simple and highly effective algorithm project: data will need to be sorted. You have at your disposal a set of int values, 2 stacks and a set of instructions and the stacks are first in, first out.

In Push_swap, we couldn't just copy and paste an already made sorting algorithm from the internet because of the nature of the problem. We had to think from scratch, make a custom solution, and understand the problem.

We learned the concept of the stack that comes in handy in breadth-first search algorithms in the next project called Lem_in.

.. video-220415-1151-48 (2)

The Push Swap visualizer was created by Emmanuel Ruaud.

About

The Push_swap project is a very simple and highly effective algorithm project.


Languages

Language:C 91.2%Language:Python 6.8%Language:Makefile 2.1%