forked fromTheAlgorithms/JavaScript
- Notifications
You must be signed in to change notification settings - Fork0
Commit46362e3
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 parent628c5ae commit46362e3
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
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
Comments
(0)