본문 바로가기

JavaScript554

[Codewars] Reverse words (7 kyu) / JavaScript https://www.codewars.com/kata/5259b20d6021e9e14c0010d4 Codewars - Achieve mastery through coding practice and developer mentorship A coding practice website for all programming levels – Join a community of over 3 million developers and improve your coding skills in over 55 programming languages! www.codewars.com DESCRIPTION: Complete the function that accepts a string parameter, and reverses eac.. 2023. 1. 18.
[백준] 2747: 피보나치 수 / Node.js (JavaScript) https://www.acmicpc.net/problem/2747 2747번: 피보나치 수 피보나치 수는 0과 1로 시작한다. 0번째 피보나치 수는 0이고, 1번째 피보나치 수는 1이다. 그 다음 2번째 부터는 바로 앞 두 피보나치 수의 합이 된다. 이를 식으로 써보면 Fn = Fn-1 + Fn-2 (n ≥ 2)가 www.acmicpc.net 문제 피보나치 수는 0과 1로 시작한다. 0번째 피보나치 수는 0이고, 1번째 피보나치 수는 1이다. 그 다음 2번째 부터는 바로 앞 두 피보나치 수의 합이 된다. 이를 식으로 써보면 Fn = Fn-1 + Fn-2 (n ≥ 2)가 된다. n=17일때 까지 피보나치 수를 써보면 다음과 같다. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 1.. 2023. 1. 17.
[Codewars] Beginner Series #1 School Paperwork (8 kyu) / JavaScript https://www.codewars.com/kata/55f9b48403f6b87a7c0000bd Codewars - Achieve mastery through coding practice and developer mentorship A coding practice website for all programming levels – Join a community of over 3 million developers and improve your coding skills in over 55 programming languages! www.codewars.com DESCRIPTION: Your classmates asked you to copy some paperwork for them. You know tha.. 2023. 1. 17.
[백준] 15962: 새로운 시작 / Node.js (JavaScript) https://www.acmicpc.net/problem/15962 15962번: 새로운 시작 부산일과학고등학교는 태어난지 얼마 안 된 킹-갓 과학고등학교다. 우리들을 위해 응원의 한마디를 출력하자. www.acmicpc.net 문제 부산일과학고등학교는 태어난지 얼마 안 된 킹-갓 과학고등학교다. 우리들을 위해 응원의 한마디를 출력하자. 입력 입력은 없다. 출력 파이팅!!을 출력한다. 코드 console.log("파이팅!!") 2023. 1. 16.