LeetCode/코딩 테스트 스터디 1주차6 [LeetCode] 3. Longest Substring Without Repeating Characters 풀이 0. 문제 https://leetcode.com/problems/longest-substring-without-repeating-characters/ 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 문자열이 주어지면 문자를 반복하지 않고 가장 긴 부분 문자열s 의 길이를 찾습니다. #1 Input: s = "abcabcbb" Output: 3 #2 Input: s = "bbbb.. 2022. 7. 10. [LeetCode] 2. Add Two Numbers 풀이 0. 문제 https://leetcode.com/problems/add-two-numbers/ Add Two Numbers - 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: l1 = [2,4,3], l2 = [5,6,4] Output: [7,0,.. 2022. 7. 10. [LeetCode] 14. Longest Common Prefix 풀이 0. 문제 https://leetcode.com/problems/longest-common-prefix/submissions/ Longest Common Prefix - 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: strs = ["flower","flow","flight"] Output: "fl" #2 Input: strs = ["d.. 2022. 7. 10. [LeetCode] 13. Roman to Integer 풀이 0. 문제 https://leetcode.com/problems/roman-to-integer/ Roman to Integer - 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 Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 ● 로마 숫자는 I, V, X, L, C, D, M의 7가지 기호로 표시 ● 로마 숫자는 일반적으로 왼쪽에서 오른쪽으로 큰 것에서 작은 것 순으로 표기 ● 4, 9는 예외 처리 ● V(5)와 X(10.. 2022. 7. 10. 이전 1 2 다음