JavaScript86 [leetCode] 3. Longest Substring Without Repeating Characters (Javascript) (5) Longest Substring Without Repeating Characters - LeetCode Longest Substring Without Repeating Characters - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 접근 : 구현, 문자열 Javascript let input = require("fs") .readFileSync("input.txt") //"/dev/stdin" .toString() .split("\n") .map((.. 2022. 6. 26. [leetCode] 125. Valid Palindrome (Javascript) (5) Valid Palindrome - LeetCode Valid Palindrome - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 접근 : 투포인터 1. 아스키코드를 통한 필터링 2. 앞 뒤 포인터로 값 비교 javascript let input = require("fs") .readFileSync("input.txt") //"/dev/stdin" .toString() .split("\n") .map((val) => val.trim()); function.. 2022. 6. 25. [leetCode] 11. Container With Most Water (Javascript) (5) Container With Most Water - LeetCode Container With Most Water - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 접근 : 투포인터 부르트포스로 풀면 시간초과 발생 투포인터를 활용해 문제풀이 Javascript let input = require("fs") .readFileSync("input.txt") //"/dev/stdin" .toString() .split("\n") .map((val) => val... 2022. 6. 25. [leetCode] 1. Two Sum (Javascript) (5) Two Sum - LeetCode Two Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 접근 : 투포인터 Javascript let input = require("fs") .readFileSync("input.txt") //"/dev/stdin" .toString() .split("\n") .map((val) => val.trim()); function solution(input) { //input let nums = input[0].split.. 2022. 6. 25. 이전 1 ··· 7 8 9 10 11 12 13 ··· 22 다음