mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-13 07:13:37 +08:00
indentation improved
This commit is contained in:
@ -4,7 +4,7 @@ import java.util.Scanner;
|
|||||||
*
|
*
|
||||||
* @author Nishita Aggarwal
|
* @author Nishita Aggarwal
|
||||||
*
|
*
|
||||||
* Brian Kernighan<EFBFBD>s Algorithm
|
* Brian Kernighan’s Algorithm
|
||||||
* algorithm to count the number of set bits in a given number
|
* algorithm to count the number of set bits in a given number
|
||||||
* Subtraction of 1 from a number toggles all the bits (from
|
* Subtraction of 1 from a number toggles all the bits (from
|
||||||
* right to left) till the rightmost set bit(including the
|
* right to left) till the rightmost set bit(including the
|
||||||
|
Reference in New Issue
Block a user