Trouble trying to find the asymptotic runtime of a recurrence
问题 I'm trying to figure out the runtime of an algorithm. It is a sort which works by dividing the problem up into sets of 2/3's (it's the CLR sort). I'm having some trouble coming up with it, this is what I have: T(n)=3T([2n]/3)+1 (the 1 is because aside from the recursive calls, there is one exchange which may or may not be made. Assuming it is done, it is still only a constant cost.) T(n)=3T([2([2n]/3+1)]/3+1)+1 T(n)=3T([2([2([2n]/3+1)]/3+1)]/3+1)+1 T(n)=3T([2([2([2([2n]/3+1)]/3+1)]/3+1)]/3+1)