Garmin Interview Question

Given a integer how many binary ones are in the number.