![4. (25 marks) A certain algorithm has running time T(n) on input of size n given by T (n) = n Lign」+ 2n-211g n」+1 (a) Prove that T (n) is Θ(n log n). (b) Prove that T(n) -nlgn is O(n) (c) Explain why the limit rule could not be used for (b) Hint: Let L(n) := lgn-ugn] and think about the properties of the function L. For example, how large can it be, and what values does it take when n = 1, 2, ?](https://media.cheggcdn.com/media%2Fc82%2Fc823c0a0-1502-4710-998a-cd62fd8f99cf%2Fphpnxtxb6.png)
4. (25 marks) A certain algorithm has running time T(n) on input
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
![4. (25 marks) A certain algorithm has running time T(n) on input of size n given by T (n) = n Lign」+ 2n-211g n」+1 (a) Prove that T (n) is Θ(n log n). (b) Prove that T(n) -nlgn is O(n) (c) Explain why the limit rule could not be used for (b) Hint: Let L(n) := lgn-ugn] and think about the properties of the function L. For example, how large can it be, and what values does it take when n = 1, 2, ?](https://media.cheggcdn.com/media%2Fc82%2Fc823c0a0-1502-4710-998a-cd62fd8f99cf%2Fphpnxtxb6.png)
4. (25 marks) A certain algorithm has running time T(n) on input
PayPal Gateway not configured
PayPal Gateway not configured