Searching, Sorting & Selection

Your answer
Answer & solution
Official answer: B
1. Using the standard dominant-term model T(n)=c n log₂n, the time increases by 360/30=12.
2. Hence n log₂n≈12·64·6=4608. For n=512, 512·9=4608, so B. Lower-order implementation overhead is ignored in this approximation.