Please wait a moment while we prepare your experience.
Enter values for : T(n) = aT(n/b) + O(n^d)
Enter values and click "Calculate" to see results
The Master Theorem solves recurrences of the form:
Three Cases:
T(n) = O(n^d)T(n) = O(n^d log n)T(n) = O(n^log_b(a))Example: Merge Sort has a=2, b=2, d=1, resulting in O(n log n)
