# calculate time complexity of two functions

What is the difference between time complexity of O(n) and O(Log n). Let us say I have a function which has time complexity of O(Log n) and space complexity of n. What will be the time complexity if I have to calculate addition two functions with time complexity of Log n and Log n Log… Read More calculate time complexity of two functions