搜题
问题   更新时间2024/6/10 16:31:00

采用贪心算法的最优装载问题的主要计算量在于将集装箱依其重量从小到大排序,故算法的时间复杂度为()
·O(n2n)
·O(nlogn)
·O(2n)
·O(n)

单选题
·O(nlogn)
王老师:19139051760(拨打)