Google interview question

What's 2^32 ?

Interview Answers

Anonymous

15 Nov 2016

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

7

Anonymous

8 Jan 2016

4 giga

5

Anonymous

29 Sept 2016

The number that will overflow a variable of type unsigned 32-bit int. const MAX_U32INT = 2^32 -1

Anonymous

26 Oct 2016

IPv4 number of IPs 2^32

Anonymous

30 Dec 2015

Multiply number for itself for 32 times.

Anonymous

29 Dec 2015

Would be important