Interview Question
Site Reliability Engineer Interview
-
GoogleWhat's 2^32 ?
Interview Answers
6 Answers
The correct approach is to show that you can break down the problem. 2^32 = 2^10 * 2^10 * 2^10 * 2^2. 2^10 = 2^8 * 2*2 = 256 * 4 ~(roughly) 1000 So: 2^32 ~ 1000 * 1000 * 1000 * 4 = 4,000,000,000
NateJ on
4 giga
Anonymous on
The number that will overflow a variable of type unsigned 32-bit int. const MAX_U32INT = 2^32 -1
Anonymous on
IPv4 number of IPs 2^32
noza on
Multiply number for itself for 32 times.
Anonymous on
Would be important
4294967296 on