From 8db4ef901c8fef6bc90d59773256c5c912f4dff9 Mon Sep 17 00:00:00 2001 From: Nishita Aggarwal Date: Sat, 30 Dec 2017 02:14:48 +0530 Subject: [PATCH] indentation improved --- Others/BrianKernighanAlgorithm.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Others/BrianKernighanAlgorithm.java b/Others/BrianKernighanAlgorithm.java index 361cdc05e..a4ea69ce8 100644 --- a/Others/BrianKernighanAlgorithm.java +++ b/Others/BrianKernighanAlgorithm.java @@ -4,7 +4,7 @@ import java.util.Scanner; * * @author Nishita Aggarwal * - * Brian Kernighan’s Algorithm + * Brian Kernighan’s Algorithm * algorithm to count the number of set bits in a given number * Subtraction of 1 from a number toggles all the bits (from * right to left) till the rightmost set bit(including the @@ -24,10 +24,10 @@ import java.util.Scanner; public class BrianKernighanAlgorithm { /** - * @param num: number in which we count the set bits - * - * @return int: Number of set bits - * */ + * @param num: number in which we count the set bits + * + * @return int: Number of set bits + * */ static int countSetBits(int num) { int cnt = 0;