兩個問題 都是是非題
disjoint-set forest , unique element,wightrule is applied那 下面這個例子會成立嗎?
1.In the worst case, find an element in a set of size n take theta(logn)
在最糟情況find 還是可以保持趨近O(1)嗎?還有disjoint-set 有很多種find和union 那是要用哪一種來看還是,就用最好的find和union呢?
2.The complexity of a comparison based algorithm cannot be faster than O(nlogn)
如果非comparison based algorithm 可以突破nlogn,但是如果是Best case不可以了嗎? 像這題要考慮Best case嗎@@