본문 바로가기

코딩 테스트20

[백준] javascript - 10718번 : We love kriii 기본적인 문제는 문제풀이 없이 Solution만 작성되어 있습니다. Title We love kriii Description ACM-ICPC 인터넷 예선, Regional, 그리고 World Finals까지 이미 2회씩 진출해버린 kriii는 미련을 버리지 못하고 왠지 모르게 올 해에도 파주 World Finals 준비 캠프에 참여했다. 대회를 뜰 줄 모르는 지박령 kriii를 위해서 격려의 문구를 출력해주자. [ Example Output ] 강한친구 대한육군 강한친구 대한육군 Solution const printTwice=(arg)=>{ console.log(arg) console.log(arg) } printTwice('강한친구 대한육군') 글 읽어주셔서 감사합니다. 보다 유익한 컨텐츠를 제작할 수.. 2020. 7. 12.
[백준] javascript - 2557번 : Hello World 기본적인 문제는 문제풀이 없이 Solution만 작성되어 있습니다. Title Hello World Description Hello World!를 출력하시오. [ Example Output ] Hello World! Solution console.log("Hello World!") 글 읽어주셔서 감사합니다. 보다 유익한 컨텐츠를 제작할 수 있도록 노력하겠습니다. ​ - TLOWAC 이창훈 - 2020. 7. 12.
[CodeWars] javascript - 6kyu - Replace With Alphabet Position 문제풀이 Title Replace With Alphabet Position DescriptionWelcome. In this kata you are required to, given a string, replace every letter with its position in the alphabet. If anything in the text isn't a letter, ignore it and don't return it. "a" = 1, "b" = 2, etc. Example alphabetPosition("The sunset sets at twelve o' clock.") Should return "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12.. 2020. 4. 29.
[CodeWars] javascript - 7kyu - Disemvowel Trolls 문제풀이 Title Disemvowel Trolls Description Trolls are attacking your comment section! A common way to deal with this situation is to remove all of the vowels from the trolls' comments, neutralizing the threat. Your task is to write a function that takes a string and return a new string with all vowels removed. For example, the string "This website is for losers LOL!" would become "Ths wbst s fr lsrs LL.. 2020. 4. 27.