0 LIKES LikeUnLike
Consider functions f(n) and g(n) whose values are non-negative. 1. Show that if f(n) is O(n^a) and g(n) is O(n^b), then f(n)g(n) is O(n^(a+b)). 2. Show that if f(n) is Θ(n^a) and g(n) is Θ(n^b), then f(n)g(n) is Θ(n^(a+b)).Is this just really simple algebra and multiplication or does the Big-O come into play? Because i know n^a * n^b is n^(a+b)
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.