1 votes 1 votes what is the difference between below two questions?? both seems to be same ,but why are they are having different time complexities?? i m really confused...plz help me https://gateoverflow.in/1829/gate2006-51-isro2016-34 https://gateoverflow.in/841/gate2002-2-11 shefali1 asked Aug 3, 2017 shefali1 224 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Hemant Parihar commented Aug 3, 2017 reply Follow Share For 1st the recurrence relation is T(n) = 2 * T($\sqrt{n}$) + 1. For 2nd recurrence relation is T(n) = T($\sqrt{n}$) + 1. I think you are able to differentiate now. 1 votes 1 votes shefali1 commented Aug 3, 2017 reply Follow Share thanku...i was making silly mistake 1 votes 1 votes Please log in or register to add a comment.