leetle

Daily challenge for 2025-05-11

131. Number of 1 Bits

Write a function solve that returns the number of 1 bits in the binary representation of an unsigned integer.

Example:
Input: 11
Output: 3

Run this challenge interactively in Python or JavaScript when the app loads.