목록전체 글 (374)
Silver Library (Archived)
https://enth.tistory.com/2 GitHub의 Wiki를 개인적으로 활용하기 2016년 9월 6일 화요일 오늘 개인적으로 Wiki 를 알게 되었다. (정보검색용 Wiki 말고) 바로 예시를 보고싶다면, https://github.com/antaehyeon/Hyeon-Schedule/wiki 를 보면 된다. 이동하기 귀찮은 사람들을.. enth.tistory.com
https://www.hackerrank.com/challenges/js10-loops/problem Personal note: the code makes sense but how on earth I can remember such a method on that day...? whatever the condition is; I need to keep rolling this. 'use strict'; process.stdin.resume(); process.stdin.setEncoding('utf-8'); let inputString = ''; let currentLine = 0; process.stdin.on('data', inputStdin => { inputString += inputStdin; })..
Personally, this algorithm is very useful & did not know how to do this thing. According to other people, this can be better off. function getLetter(s) { let letter; // Write your code here let characterA = "aeiou"; let characterB = "bcdfg"; let characterC = "hjklm"; let characterD = "npqrstvwxyz"; for(let i in s){ if (characterA.includes(s[0])){ letter = "A"; } else if (characterB.includes(s[0]..
hackerrank, 10days of JS. Title: Day 2: conditional statement if-else Personal note: This is for the record to see how I figured out the algorithm. Initially, function getGrade(score) { let grade; is given. Then the question is; how to implement the following condition. If (25 < score