How Many One’s Between Number 1 to N ? June 28, 2014 C/C++, implementation, integer 1 Comment Question: Given a positive integer (nature number) N, count the number of ‘1’s between number 1 to N inclusive. For example, when N = 2, the answer is 1, … [Continue Reading...]