leetcode
-
2021-01-09] Check If Two String Arrays are Equivalent & Duplicate ZerosIT/자기계발 ( Leetcode ) 2021. 1. 9. 00:00
오늘의 문제: leetcode.com/problems/check-if-two-string-arrays-are-equivalent/ Check If Two String Arrays are Equivalent - 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 leetcode.com/problems/duplicate-zeros/ Duplicate Zeros - LeetCode Level up your coding skills and quickly land a job...
-
2021-01-08] Longest Substring Without Repeating CharactersIT/자기계발 ( Leetcode ) 2021. 1. 8. 00:00
오늘의 문제: leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/579/week-1-january-1st-january-7th/3595/ 이번 문제는 한줄이지만, 한마디론 표현이 잘안되니 예시를 보며 이야기해보자. input값으로 문자열이 주어지고, 이 안에서 중복되는 값이 없는 substring의 최대 길이를 구하는 것이 문제이다. 예시 1처럼 "abcabcbb" 라면 "abc","bca","cab"가 가장 긴 substring이고 최대 길이는 3이다 문제풀이 ) class Solution(object): def lengthOfLongestSubstring(self, s): maxval=1 if s == "": return 0 ..
-
2021-01-07] Kth Missing Positive NumberIT/자기계발 ( Leetcode ) 2021. 1. 7. 00:00
오늘의 문제: leetcode.com/problems/kth-missing-positive-number/ Kth Missing Positive Number - 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 이번 문제도 이해는 쉬웠던 것 같다! 입력값으로 주는 arr에 값을 제외한 [1~1000] 이하의 List의 입력값 k번째의 값을 구하는 것이다! 예시를 보며 같이 이해해보자 입력값으로 [2,3,4,7,11] 이 주어졌으니 해당 내용을 제외한 [1~1000]의..
-
2021-01-06] Remove Duplicates from Sorted List IIIT/자기계발 ( Leetcode ) 2021. 1. 6. 23:45
하루하루.. 꾸준히 쓴다는 것은 정말 어렵다.. 문제 푸는 것도 그렇고, 그것을 정리하여 블로그로 남기는 것까지 할라니 쉽지가 않다.. 그래도 5일만에 무너질수없으니 오늘도 문제를 풀어봅시다. 오늘의 문제: leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ Remove Duplicates from Sorted List II - 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 문제 자체는 쉽게 이해하였다! ..
-
2021-01-05] Merge Two Sorted ListsIT/자기계발 ( Leetcode ) 2021. 1. 5. 03:05
오늘의 문제: leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/579/week-1-january-1st-january-7th/3592/ Explore - LeetCode LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore. leetcode.com 이번엔 그래도 바로 이해가능한 문제가 나왔다! 제목처럼 두개의 Input List를 오름 차순..
-
2021-01-04] Beautiful ArrangementIT/자기계발 ( Leetcode ) 2021. 1. 4. 20:46
오늘의 문제: leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/579/week-1-january-1st-january-7th/3591/ Explore - LeetCode LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore. leetcode.com 알흠다운 배열... 문제 이해가 역시 쉽진 않은 바, 예시로 문제를 이해해보자. input N..
-
2021-01-03] Find a Corresponding Node of a Binary Tree in a Clone of That TreeIT/자기계발 ( Leetcode ) 2021. 1. 4. 00:32
오늘의 문제: leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/579/week-1-january-1st-january-7th/3590/ Account Login - 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 처음 문제를 이해하는 데 진을 다 빼버려 정말 지쳐버렸다.. ( 영어가 어려운걸 떠나서, 문제를 이해 못했었음 ) 역시 예시로 주어진 내용으로 내가 이해한 바를 설명한다. 총 T..
-
2021-01-02] Check Array Formation Through ConcatenationIT/자기계발 ( Leetcode ) 2021. 1. 4. 00:14
신년부터 다시 자기계발을 하고자 글을 쓴다. ( 1월1일은 신정이니 한 번 봐주자.. 나 자신 ) 필자는 영어를 잘 못해서 Google님의 도움으로 문제를 읽고, 예시를 보며 문제를 이해한다. ( Thx, google.. ) 그리고, Python으로 문제를 풀고 있어 문제풀이의 경우 python문법으로 풀이한다. 오늘의 문제: leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/579/week-1-january-1st-january-7th/3589/ Account Login - LeetCode Level up your coding skills and quickly land a job. This is the best place to ..