I'm new to Divide and Conquer. I would like to know how to find out the running time of this calculation?
What exactly do I have to pay attention to and how do I proceed?
n=1 runningtime = O(1)
expanding for sum k steps it will be like
here {sqrt(1/4)+sqrt(1/16)....} is Geometric progression
if we take //here base is 4 //这里的基数是 4
you still can use
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.