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 <[email protected]> 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 [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. > > -- 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 [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.
