Skip to content

Add Pancake Sort to the sorting algorithms #800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

arthurvergacas
Copy link
Contributor

Hello again everybody! This time, I'm trying to do things somewhat properly hasdhas. I forked the repo again, created a new branch (hehe I remembered this time 🎉) and everything seems to be alright. In this timeline, I've already made all the changes that @defaude requested regarding comment style. Hope everything is fine now! :)

To anyone wondering, this is an older PR (#786), but I accidentally deleted the fork and couldn't make any changes 😭 (in my defense Github was the culprit!).

To the record, I'm leaving the original PR message here:

In the spirit of Hacktoberfest, I've decided to add one of my favorite sorting algorithms: the Pancake Sort!

The main reason to like this algorithm, besides the replacement of comparisons with reversals, is of course its name; after all, who doesn't like pancakes? 🥞 😋

If something is off, please don't hesitate to comment in this PR!

I hope that this time things work as they should (plsplsplsplspls). And one more time, sorry for all the mess!

@raklaptudirm raklaptudirm added algorithm Adds or improves an algorithm feature Adds a new feature Reviewed labels Oct 21, 2021
@raklaptudirm raklaptudirm merged commit 7bae42d into TheAlgorithms:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithm Adds or improves an algorithm feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants