will itoa work for negative base? On 7/31/11, saurabh singh <saurab...@gmail.com> wrote: > If conversion is straightforward,so its coding...:) > Here is my python function for the same. > http://www.ideone.com/brpbb > > > > > On Sun, Jul 31, 2011 at 7:31 AM, Grapher <ggrap...@gmail.com> wrote: > >> This question was asked recently in an interview. >> >> Convert a number to base -2 >> >> Conversion is pretty straightforward. But how do you code for it ?? >> Please help. >> >> -- >> 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. >> >> > > > -- > Saurabh Singh > B.Tech (Computer Science) > MNNIT ALLAHABAD > > -- > 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. > >
-- Sanchit Manchanda COE(3rd year) , NSIT http://iblogmythots.wordpress.com/ -- 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.