0 votes 0 votes Shubham Aggarwal asked Dec 27, 2018 Shubham Aggarwal 214 views answer comment Share Follow See 1 comment See all 1 1 comment reply Abhisek Tiwari 4 commented Dec 27, 2018 reply Follow Share logn e.g y= 5^24 it can be done in x=5 while(x<y) x=x*x then linear search till x!=y so 5,5^2,5^4,5,5^8,5^16 5^32 but it is larger hence after 5^16 linear search. 1 votes 1 votes Please log in or register to add a comment.