http://www.codechef.com/problems/K2/
I tried brute force, ie converting the number to base i=2,3,4,5... and so on and checking if its a palindrome or not. My solution is giving tle (of course), will try to think of a better solution otherwise will read the solution. The solutions to this problem are open. On Oct 5, 8:33 am, pawan yadav <pawan1991ya...@gmail.com> wrote: > we have to find the base greater than or equal to 2 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@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.