Tuesday, 7 February 2017

algorithm - Is it possible to count the number of Set bits in Number in O(1)?

I was asked the above question in an interview and interviewer is very certain of the answer. But i am not sure. Can anyone help me here?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...