In merge sort is the number of comparison is less than the number of data swap?

前端 未结 0 711
失恋的感觉
失恋的感觉 2021-02-02 06:07

In other sorting the number of comparison is greater than the number of data shift.But I think in merge sorting the number of comparison is less than the number of data shifting

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