News for hackers. Stuff that matters.
Re:Google interview questions - fun brain teasers by dhotson on Monday August 04, 2008 @09:48PM (#267038)
Actually, it's a pretty good test I think.

To work it out in your head (in decimal you cheater! :D ) you need to know a bit about dealing with powers of two.

<Spoiler alert!>

So for example, if you happen to know that 2^32 is roughly 4 billion, then you can figure out that 2^64 is 2^32 squared.

4 billion is 4x10^9 .. so 2^64 is roughly 16x10^18.

Re:Google interview questions - fun brain teasers by qqq on Monday August 04, 2008 @10:59PM (#267095)
Just know that 2^10 is about 1000, so you do 2^4 followed by 1000^6, ie 6*3 zeros.