Skip to content

Commit

Permalink
Merge pull request neetcode-gh#1272 from jdevers1/patch-1
Browse files Browse the repository at this point in the history
Update 338-Counting-Bits.cpp
  • Loading branch information
Ahmad-A0 authored Oct 21, 2022
2 parents 860cfb3 + 7e74ce2 commit 7a6a9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/338-Counting-Bits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Differ by 1 bit, by removing LSB: f(x) = f(x / 2) + (x mod 2)
Time: O(n)
Space: O(n)
Space: O(1), the output array does not count towards space
*/

class Solution {
Expand Down

0 comments on commit 7a6a9cc

Please sign in to comment.