분류 전체보기33 [LeetCode] 6. Zigzag Conversion 풀이 (JS) 0. 문제 https://leetcode.com/problems/zigzag-conversion/ Zigzag Conversion - 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 문자열 "PAYPALISHIRING" 은 다음과 같이 주어진 행 수에 지그재그 패턴으로 작성된다. P A H N A P L S I I G Y I R "PAHNAPLSIIGYIR" 을 한 줄씩 읽고 문자열로 반환하는 문제. #1 Input: s = "PAYPALISHIRING", num.. 2022. 7. 17. [LeetCode] 27. Remove Element 풀이 (JS) 0. 문제 https://leetcode.com/problems/remove-element/ Remove Element - 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 Input: nums = [3,2,2,3], val = 3 Output: 2, nums = [2,2,_,_] Explanation: Your function should return k = 2, with t.. 2022. 7. 17. [LeetCode] 26. Remove Duplicates from Sorted Array 풀이 (JS) 0. 문제 https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Remove Duplicates from Sorted Array - 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 Input: nums = [1,1,2] Output: 2, nums = [1,2,_] Explanation: Your functi.. 2022. 7. 17. [LeetCode] 5. Longest Palindromic Substring 풀이 (JS) 0. 문제 https://leetcode.com/problems/longest-palindromic-substring/ Longest Palindromic Substring - 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 Input: s = "babad" Output: "bab" #2 Input: s = "cbbd" Output: "bb" 1.언어 자바스크립트(JavaScript) 2. 문제 풀이 co.. 2022. 7. 17. 이전 1 ··· 3 4 5 6 7 8 9 다음