@sravan, What i meant was get the jth digit in the representation of i to the base NUM_PER_DIGIT. ie 3rd digit of (2137)8 which is 2.. 7 is the 0th digit, 3 being 1st digit, 1 being 2nd digit and 2 being 3rd digit.Here 2137 is a base 8 representation.
Thanks, Immanuel On Tue, May 24, 2011 at 6:37 PM, sravanreddy001 <sravanreddy...@gmail.com>wrote: > @Immanuel: > In the iteretive approach, can you tell me what you meant by this function. > A code is not required, but, how are we going to calculate? the method name > is little confusing. > > The recursive is good.. but.. I'm looking at the iterative approach. > > ---> getJthDigitinItotheBaseNumPerDigit(NUM_PER_DIGIT,i,j); > > Thanks > Sravan. > > > -- > 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.