What is the most efficient way to find position of LSB, MSB and count of set bits of an integer?
If there are any related questions to the problem, please share.