drifter_kabir's blog

By drifter_kabir, history, 5 years ago, In English

Can anyone please verify my implementation of Iterative Merge Sort ? I need to know that is it correct and can I use it in solving problems. The code is commented as my level. Thanks in advance.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

A better idea: just use the sort() function which is probably also a lot faster.

»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

I think any sort task would do the trick. Also you can stress it with built-in c++ std::sort.