Recursive Algorithm Time Complexity