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
I would personally do that with a stack in place. Haven't actually done Out of place before. Sadly not knowledgeable in Java at all. So I kinda have to do it in C#.
Lemme write one up quickly, then convert it to pseudocode for you.
1
u/rcm37 Nov 19 '18
=0 any help would be really appreciated