回复

碎梦不是梦碎

2018年10月13日

1. O(n^2)
2. O(n+10logn)
3. O(nlogn)
4. O(n)
当然 本题不考虑建堆时间 所以2为O(logn)

0 0
回复
暂无回复
查看更多
我要回复