일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- LeetCode
- python 알고리즘
- 릿코드풀기
- 잇츠디모
- 알고리즘풀기
- 상가수익률계산기
- python xor
- python priority queue
- python 릿코드
- 릿코드 파이썬
- 파이썬알고리즘
- leetcode풀기
- 파이썬릿코드
- binary search
- 파이썬 알고리즘 풀기
- 파이썬릿코드풀기
- leetcode풀이
- 릿코드 풀기
- 파이썬 릿코드
- 릿코드
- 코틀린기초
- 알고리즘풀이
- python Leetcode
- python sorted
- leetcode 풀기
- 파이썬알고리즘풀기
- 릿코드풀이
- 파이썬 알고리즘
- 파이썬 프로그래머스
- python zip_longest
- Today
- Total
목록릿코드 풀기 (5)
소프트웨어에 대한 모든 것

1329. Sort the Matrix Diagonally https://leetcode.com/problems/sort-the-matrix-diagonally/ Sort the Matrix Diagonally - 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) - Straight Forward 특별한 자료구조나 알고리즘은 사용하지 않았습니다. 문제 그대로 이해하여 풀었습니다. 문제 풀이 접근: 오른쪽 상단을 시작으로 row++, col++ 이동..

1812. Determine Color of a Chessboard Square https://leetcode.com/problems/determine-color-of-a-chessboard-square/ Determine Color of a Chessboard Square - 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) class Solution: def squareIsWhite(self, coordinates: str) -> bool: #..

1295. Find Numbers with Even Number of Digits 제목 문제) 솔루션1) len(str)을 사용해서 길이가 even을 찾아냅니다. class Solution: def findNumbers(self, nums: List[int]) -> int: return sum([len(str(num)) % 2 == 0 for num in nums])

617. Merge Two Binary Trees https://leetcode.com/problems/merge-two-binary-trees/ Merge Two Binary Trees - 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) - 재귀적 문제 난이도는 Easy였지만 저에게는 Medium 이상 난이도의 문제였습니다. DFS 방식으로 계속 푸는 방법을 생각 했지만 결국에는 포기하고 Discussion을 참고 하였습니다. 노드를 생성해 나..

1221. Split a String in Balanced Strings https://leetcode.com/problems/split-a-string-in-balanced-strings/ Split a String in Balanced Strings - 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) 순차적으로 'L' 문자수를 카운팅, 'R' 문자수를 카운팅해서 같아지는 시점에 balanced string 하나를 카운팅하고 'L', 'R' 문..