본문 바로가기

JavaScript554

[Codewars] Bit Counting (6 kyu) / JavaScript https://www.codewars.com/kata/526571aae218b8ee490006f4 Codewars - Achieve mastery through coding practice and developer mentorship Coding practice 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: Write a function that takes an integer as input, and returns the number of bits t.. 2022. 10. 7.
[백준] 1874: 스택 수열 / Node.js (JavaScript) https://www.acmicpc.net/problem/1874 1874번: 스택 수열 1부터 n까지에 수에 대해 차례로 [push, push, push, push, pop, pop, push, push, pop, push, push, pop, pop, pop, pop, pop] 연산을 수행하면 수열 [4, 3, 6, 8, 7, 5, 2, 1]을 얻을 수 있다. www.acmicpc.net 문제 스택 (stack)은 기본적인 자료구조 중 하나로, 컴퓨터 프로그램을 작성할 때 자주 이용되는 개념이다. 스택은 자료를 넣는 (push) 입구와 자료를 뽑는 (pop) 입구가 같아 제일 나중에 들어간 자료가 제일 먼저 나오는 (LIFO, Last in First out) 특성을 가지고 있다. 1부터 n까지의 수.. 2022. 10. 6.
[Codewars] Categorize New Member (7 kyu) / JavaScript https://www.codewars.com/kata/5502c9e7b3216ec63c0001aa Codewars - Achieve mastery through coding practice and developer mentorship Coding practice 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: The Western Suburbs Croquet Club has two categories of membership, Senior and Ope.. 2022. 10. 6.
[Codewars] Disemvowel Trolls (7 kyu) / JavaScript https://www.codewars.com/kata/52fba66badcd10859f00097e Codewars - Achieve mastery through coding practice and developer mentorship Coding practice 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: Trolls are attacking your comment section! A common way to deal with this situati.. 2022. 10. 5.