Count 1 in Binary(LintCode 365):

Problem