We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0aec7 commit e59c219Copy full SHA for e59c219
โcounting-bits/KwonNayeon.py
@@ -13,7 +13,7 @@
13
ํ์ด๋ฐฉ๋ฒ:
14
1. ๊ธธ์ด๊ฐ n+1์ธ ans ๋ฐฐ์ด์ ์์ฑ
15
2. 0๋ถํฐ n๊น์ง์ ๊ฐ ์ซ์์ ๋ํด:
16
- - hammingWeight ํจ์๋ฅผ ์ฌ์ฉํ์ฌ ์ด์ง ํํ์์ 1์ ๊ฐ์๋ฅผ ๊ณ์ฐ
+ - hammingWeight ํจ์๋ฅผ ์ฌ์ฉํ์ฌ ์ซ์ i๋ฅผ ์ด์ง์๋ก ๋ณํํ์ ๋ 1์ ๊ฐ์ ๊ณ์ฐ
17
- ๊ฒฐ๊ณผ๋ฅผ ans[i]์ ์ ์ฅ
18
3. ans ๋ฐฐ์ด ๋ฐํ
19
"""
0 commit comments