๐Ÿ“ Master Theorem Calculator

Solve recurrences of the form T(n) = aT(n/b) + f(n)

T(n) = a ยท T(n/b) + nd
Number of recursive calls
Divide problem by b
f(n) = nd

Solution Steps:

Result: ฮ˜(n log n)
Case 1: Leaves Win If d < logba
Then T(n) = ฮ˜(nlogba)
Case 2: Tie If d = logba
Then T(n) = ฮ˜(nd log n)
Case 3: Root Wins If d > logba
Then T(n) = ฮ˜(nd)