Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 450 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 450 Bytes

Algorithm_with_JS

let start = filename[0];
let codingTestSite;
let solutionTitle = filename.slice(1);
switch (start) {
  case "p":
    codingTestSite = "Programmers";
    break;
  case "l":
    codingTestSite = "Leetcode";
    break;
  case "b":
    codingTestSite = "Baekjoon";
    break;
  case "softeer":
    codingTestSite = "Softeer";
    break;
  default:
    break;
}

console.log(`${codingTestSite}${solutionTitle} 해결`);