Question regarding mergesort's merge algorithm

前端 未结 0 1594
醉话见心
醉话见心 2021-02-07 04:51

Let\'s suppose we have two sorted arrays, A and B, consisting of n elements. I dont understand why the time needed to merge these 2 is "n+n". In order to merge them we

相关标签:
回答
  • 消灭零回复
提交回复
热议问题