An Algorithmist
Brief explanation and solutions to coding problems I solved / learned.
Monday, June 17, 2013
Counting the number of set bits in an integer
Reference:
http://graphics.stanford.edu/~seander/bithacks.html
Time Complexity:
O(log n)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment