Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 189 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 189 Bytes

19.Number of 1 The Binary

Description

Given a 32-bit unsigned integer n, find the number of 1 in binaryn

Example

Input: 5
Output: 2

Input: 15
Output: 4