Skip to content

Improved documentation and comments in merge_sort.cpp#3129

Open
sidmisro wants to merge 2 commits intoTheAlgorithms:masterfrom
sidmisro:master
Open

Improved documentation and comments in merge_sort.cpp#3129
sidmisro wants to merge 2 commits intoTheAlgorithms:masterfrom
sidmisro:master

Conversation

@sidmisro
Copy link
Copy Markdown

Changes Made

  • Fixed grammatical issues in comments
  • Updated misleading statement about built-in sorting algorithms
  • Added explanation of stability of merge sort

- Fixed grammatical errors in comments
- Updated misleading statement about built-in sorting algorithms
- Added explanation about stability of merge sort
- Fixed potential out-of-bounds access in jump search loops
- Added boundary checks for empty array
- Improved safety of index access conditions
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.

1 participant