Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8db4ef9

Browse files
authored
indentation improved
1 parent55b9080 commit8db4ef9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎Others/BrianKernighanAlgorithm.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @author Nishita Aggarwal
66
*
7-
* Brian Kernighan’s Algorithm
7+
* Brian Kernighan’s Algorithm
88
* algorithm to count the number of set bits in a given number
99
* Subtraction of 1 from a number toggles all the bits (from
1010
* right to left) till the rightmost set bit(including the
@@ -24,10 +24,10 @@
2424
publicclassBrianKernighanAlgorithm {
2525

2626
/**
27-
* @param num: number in which we count the set bits
28-
*
29-
* @return int: Number of set bits
30-
* */
27+
* @param num: number in which we count the set bits
28+
*
29+
* @return int: Number of set bits
30+
* */
3131
staticintcountSetBits(intnum)
3232
{
3333
intcnt =0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp