k...thanks...
On 7/28/11, Rajeev Kumar <[email protected]> wrote: > @Puneet, > get_power(int a, int b) works in O(logb) as you keep on dividing b with > 2... > you are calling that method *P *times in *func(int p) *method..... > So it is *plogb.......*u r passing 5 as b value....it will be *plog5* > > On Thu, Jul 28, 2011 at 11:45 AM, Puneet Gautam > <[email protected]>wrote: > >> @sachin: Explain pls...!!? >> >> >> On 7/28/11, sachin sharma <[email protected]> wrote: >> > it is O(plg5) >> > >> > >> > Best Wishes >> > Sachin Sharma >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Algorithm Geeks" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/algogeeks?hl=en. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > > > -- > Thank You > Rajeev Kumar > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
