โ T(n)=aT(n/b)+O(nd) rmไบz ifd logb a O(ndlogn) if d logb a if'd logb a. Merge sort:T(n)<2T(n/2)+0(n). a=b=2,d=1.So d=logb a. By the master theorem:T(n)=0(n logn). 10โผ ๐(๐) = ๐๐(๐/๐) + ๐(๐ ๐ ) โผ Merge sort: ๐(๐) โค 2๐(๐/2) + ๐(๐). โผ ๐ = ๐ = 2, ๐ = 1. So ๐ = log๐ ๐. โผ By the master theorem: ๐(๐) = ๐(๐ log ๐). 10