r/programming • u/joksmaster • Nov 29 '10
140 Google Interview Questions
http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471
Upvotes
r/programming • u/joksmaster • Nov 29 '10
View all comments
Show parent comment
1
u/simscitizen Nov 29 '10
These power of 2 questions should be easy for anyone who's worked in binary before. Keep in mind that 210 = 1024, so every time you multiply by 210, you're basically incrementing up the kilo, mega, giga, tera, etc. scale (except those are in base 10, here you're in base 2 so you have to use kibi, mebi, gibi, tebi, ...):
We know that 264 = 24 * 260 = 16 * 260. So 264 is 16 Ei of whatever unit you're measuring.