Provide a Sample code for the recurrences below.
i.) T(n)=T(n/5)+T(3n/5)+n
ii.)T(n)=T(2n/5)+T(3n/5)+n
iii.) T(n)=4T(n/2)+n³

Q&A Education