Skip to content
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

Merge Sort and Bubble Sort.cpp #25

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

DoraemonMS-903
Copy link
Contributor

No description provided.

Merge Sort is a Divide and Conquer algorithm. It divides input array in two halves, calls itself for the two halves and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, l, m, r) is key process that assumes that arr[l..m] and arr[m+1..r] are sorted and merges the two sorted sub-arrays into one.
Beginner Friendly Bubble Sort example
@KiteretsuSaiSama KiteretsuSaiSama added hacktoberfest-accepted Accept for hacktoberfest will merge later hacktoberfest labels Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest hacktoberfest-accepted Accept for hacktoberfest will merge later
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants