k...thanks...
On 7/28/11, Rajeev Kumar <rajeevprasa...@gmail.com> 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 > <puneet.nsi...@gmail.com>wrote: > >> @sachin: Explain pls...!!? >> >> >> On 7/28/11, sachin sharma <sachin.bles...@gmail.com> 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 algogeeks@googlegroups.com. >> > To unsubscribe from this group, send email to >> > algogeeks+unsubscr...@googlegroups.com. >> > 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 algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> 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 algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > 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 algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.