Does sorting require a total-order comparison?

前端 未结 0 326
借酒劲吻你
借酒劲吻你 2021-01-06 01:18

Inspired by this question:

Suppose S(C, A) is an algorithm that sorts the elements of array A given a comparison function C such that C(x, y) returns a negative, zero

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