Philips Healthcare
Employer Engaged

Interview Question

Software Design Engineer Interview Bothell, WA

count 1. Write a function to count how many 1s are there in

  a integer in bits. example: countOne(1) => 1 countOne(2) => 1 countOne(4) => 1 countOne(3)=>2

Add Answers or Comments

To comment on this, Sign In or Sign Up.