Skip to content

Conversation

@RAHULANUP
Copy link

Added a sorting algorithm(merge sort)...

Copy link
Collaborator

@appgurueu appgurueu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid we have to reject this for multiple reasons:

  • It's a duplicate. We already have MergeSort.
  • If it was better than the current implementation, the current implementation should be replaced; this is however much worse
  • It is implemented improperly (highly inefficiently): Merge should not be sorting the two halves using selectionsort
  • It does not follow our coding style / conventions; code is duplicated
  • It does not have proper JSDoc comments
  • It is completely untested
@appgurueu appgurueu added the invalid Doesn't seem right label Mar 1, 2023
@appgurueu appgurueu closed this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Doesn't seem right

2 participants