Q1. For sufficiently large n, which time complexity grows faster: O(n log n) or O(n^2)?
Explanation
As n becomes large, n squared grows faster than n log n because n/log n tends to increase without bound. This is why an O(n log n) sorting algorithm is usually preferred over an O(n^2) one for large inputs.
