摘要:
For recurrent relation with the following format: $T(n) = a T(\frac{n}{b}) + f(n)$ Let $c=\log_b a$ be the critical exponent . Master theorem compares 阅读全文
摘要:
A very simple algorithm. print the cartesian product of n sets print_cartesian_product(list_of_sets): out_set=set() print_cartesian_product(list_of_se 阅读全文