일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 코틀린기초
- 파이썬알고리즘
- 잇츠디모
- python zip_longest
- leetcode풀이
- 파이썬릿코드
- 파이썬 알고리즘
- 파이썬알고리즘풀기
- 파이썬 릿코드
- python sorted
- 파이썬 알고리즘 풀기
- 알고리즘풀이
- leetcode 풀기
- 파이썬릿코드풀기
- 알고리즘풀기
- python Leetcode
- 릿코드풀이
- leetcode풀기
- python 알고리즘
- LeetCode
- python 릿코드
- 상가수익률계산기
- python priority queue
- 파이썬 프로그래머스
- 릿코드
- 릿코드풀기
- binary search
- 릿코드 파이썬
- 릿코드 풀기
- python xor
- Today
- Total
목록알고리즘 풀기 (2)
소프트웨어에 대한 모든 것

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++ 이동..

654. Maximum Binary Tree https://leetcode.com/problems/maximum-binary-tree/ Maximum Binary Tree - 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) - 재귀 재귀적인 방법으로 왼쪽 서브트리, 오른쪽 서브트리를 구성합니다. 풀이 순서 초기에 루트 노드를 생성 nums에서 max 값과 idx를 탐색 idx 기준으로 왼쪽과 오른쪽으로 나눠서 배열을 나누고 재귀적으로 subtre..