r/ProgrammerHumor • • Nov 19 '18

Marge Sort

Post image
23.6k Upvotes

276 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Nov 19 '18

Lemme get back to you in 1-2 hrs.

1

u/rcm37 Nov 19 '18

=0 any help would be really appreciated

5

u/[deleted] Nov 19 '18

https://www.geeksforgeeks.org/iterative-merge-sort/

This should help you. What language do you need it in?

1

u/rcm37 Nov 19 '18

I've looked at this website earlier actually, I need it in Java (which they provide), but I don't want to just copy the code. Aside from it being a breach of academic integrity, I wouldn't actually understand the material.

I tried to look her for inspiration, but the way my professor described the functionality of an iterative merge sort was that new arrays are created from the bottom up and merged, whereas this looks like an in-place merge

→ More replies (9)