Cover image for Google
Logo
See All Photos
Best Places to Work 2020

Google

Engaged Employer

Google

Add an Interview

Interview Question

Site Reliability Engineer Interview

-

Google

What's 2^32 ?

Interview Answers

6 Answers

7

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

5

4 giga

Anonymous on

0

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

Anonymous on

0

IPv4 number of IPs 2^32

noza on

0

Multiply number for itself for 32 times.

Anonymous on

0

Would be important

4294967296 on

Add Answers or Comments

To comment on this, Sign In or Sign Up.

Google Careers

Cover image for Google

​​We strive to provide Googlers and their loved ones with a world-class benefits experience, focused on supporting their physical,...More

  • Where we work
  • Building belonging
  • Googler stories
  • Build your future
This is the employer's chance to tell you why you should work for them. The information provided is from their perspective.