Kelly Services

  www.kellyservices.com
Work in HR? Unlock Free Profile

Kelly Services Intern Interview Question

I interviewed in San Diego, CA and was asked:
"How to find the number of bits in an integer"
Add Tags [?]
Answer

Part of a Intern Interview Review - one of 183 Kelly Services Interview Reviews

Answers & Comments

0
of 0
votes
Logical AND the number with 1. if the result is 1 then increases the counter. else right shift the number and continue the loop.
- Interview Candidate on Apr 5, 2012

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.