Skip to content

add pancake sort #215

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

Conversation

AdhityaRamadhanus
Copy link

Adding pancake sorting algorithm in sorting category

@duaraghav8 duaraghav8 merged commit c661604 into algorithm-visualizer:master Aug 22, 2016
@TornjV
Copy link
Member

TornjV commented Aug 22, 2016

For input: [4, 9, 7, 8, 4, 8, 4, 9, 3, 9, 3, 4, 2, 4, 2, 8, 5, 9, 1, 7], the sort outputted:
[9, 9, 9, 9, 1, 8, 8, 8, 7, 7, 5, 4, 4, 4, 4, 4, 3, 3, 2, 2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants