목록F2. Problem & Solving (33)
Silver Library (Archived)
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
hackerrank, 10days of JS. Title: Day 1: let and const Personal note: This is for the record to see how I figured out the algorithm. - parseFloat is the print like feature in float. Literally, parsing its data to float. - r = parseFloat(readLine()); - this readLine indicates 'I wish to read only a single line for each.' - as problem asked, declare PI to const. - const PI = Math.PI; CAUTION: Don't..
The algorithm or online coding test seems focusing on the sorting issue. And that must be the reason why array, calculation stuff is the representative issue to deal with it. I know this may not be that helpful regard to get a job from a start-up size business, but I have to try. Just don't lose the faith.