【題組】(c) What is the computational complexity of this program? Is it O(n), O(n*log2(n)), O(n2), O(2n)
問題詳情
【題組】(c) What is the computational complexity of this program? Is it O(n), O(n*log2(n)), O(n2), O(2n), or O(n!), wheren denotes the number of jumps taken? (5%)