본문 바로가기

JavaScript554

[Codewars] L1: Bartender, drinks! (8 kyu) / JavaScript https://www.codewars.com/kata/568dc014440f03b13900001d 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 receives as input a string, and produces out.. 2023. 4. 26.
[백준] 21335: Another Eruption / Node.js (JavaScript) https://www.acmicpc.net/problem/21335 21335번: Another Eruption A volcano has recently erupted in Geldingadalur, Iceland. Fortunately this eruption is relatively small, and---unlike the infamous Eyjafjallajökull eruption---is not expected to cause delayed international flights or global outrage. There is some concern www.acmicpc.net 문제 A volcano has recently erupted in Geldingadalur, Iceland. For.. 2023. 4. 26.
[백준] 15666: N과 M (12) / Node.js (JavaScript) https://www.acmicpc.net/problem/15666 15666번: N과 M (12) 한 줄에 하나씩 문제의 조건을 만족하는 수열을 출력한다. 중복되는 수열을 여러 번 출력하면 안되며, 각 수열은 공백으로 구분해서 출력해야 한다. 수열은 사전 순으로 증가하는 순서로 출력해 www.acmicpc.net 문제 N개의 자연수와 자연수 M이 주어졌을 때, 아래 조건을 만족하는 길이가 M인 수열을 모두 구하는 프로그램을 작성하시오. N개의 자연수 중에서 M개를 고른 수열 같은 수를 여러 번 골라도 된다. 고른 수열은 비내림차순이어야 한다. 길이가 K인 수열 A가 A1 ≤ A2 ≤ ... ≤ AK-1 ≤ AK를 만족하면, 비내림차순이라고 한다. 입력 첫째 줄에 N과 M이 주어진다. (1 ≤ M ≤ N.. 2023. 4. 26.
[Codewars] Find the first non-consecutive number (8 kyu) / JavaScript https://www.codewars.com/kata/58f8a3a27a5c28d92e000144 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 task is to find the first element of an array that is not consecut.. 2023. 4. 26.