전체태그 보기

#Codewars (3개의 포스트)

statisticseo

<8 kyu> Square(n) Sum

2019년 2월 21일0개의 댓글
Square(n) Sum Complete the square sum method so that it squares each number passed into it and then sums the results together. For example: squareSum([1, 2, 2]) should return 9 because 1^2 + 2^2 + 2^...
statisticseo

<8 kyu> Fake Binary

2019년 2월 21일0개의 댓글
Fake Binary Given a string of digits, you should replace any digit below 5 with '0' and any digit 5 and above with '1'. Return the resulting string. 문제 풀이 중요개념 - 화살표 함수 - 화살표 표기법은 간단히 말해 ...
statisticseo

<8 kyu> Do I get a bonus?

2019년 2월 21일0개의 댓글
Do I get a bonus? It's bonus time in the big city! The fatcats are rubbing their paws in anticipation... but who is going to make the most money? Build a function that takes in two arguments (salary,...