Skip to content

Commit c6a817c

Browse files
authored
Merge pull request #1321 from RiaOh/main
[RiaOh] WEEK 03 solutions
2 parents 391efe4 + 57676f4 commit c6a817c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

number-of-1-bits/RiaOh.js

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* @param {number} n
33
* @return {number}
44
*/
5+
6+
// week3 다시 올림
57
var hammingWeight = function (n) {
68
const binary = n.toString(2);
79
const arr = [...binary];

valid-palindrome/RiaOh.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* @param {string} s
33
* @return {boolean}
44
*/
5+
// Week 3에 다시 올림
56
var isPalindrome = function (s) {
67
const arr = [...s];
78
let text = "";

0 commit comments

Comments
 (0)