Commit 46362e3
chore: count set bits using bitwise ops (TheAlgorithms#1532)
* Update BinaryCountSetBits.js
* Use `let` instead of `var`
---------
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>1 parent 628c5ae commit 46362e3
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
0 commit comments