일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- leetcode풀기
- 파이썬 알고리즘
- 릿코드 파이썬
- python priority queue
- 릿코드풀이
- 파이썬릿코드
- 파이썬 릿코드
- leetcode풀이
- python 알고리즘
- python xor
- 잇츠디모
- LeetCode
- 파이썬알고리즘
- 파이썬 알고리즘 풀기
- 릿코드
- python 릿코드
- 릿코드 풀기
- python sorted
- 알고리즘풀이
- 릿코드풀기
- python zip_longest
- 파이썬 프로그래머스
- 파이썬알고리즘풀기
- 알고리즘풀기
- python Leetcode
- leetcode 풀기
- 파이썬릿코드풀기
- binary search
- 코틀린기초
- 상가수익률계산기
- Today
- Total
목록파이썬릿코드 (4)
소프트웨어에 대한 모든 것
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..
43. Multiply Strings https://leetcode.com/problems/multiply-strings/ Multiply 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) Built-in BigInteger library를 사용하지 말아햐 하는 조건이 있다. string을 number로 바꾸는 함수를 만들어야한다. class Solution: def multiply(self, num1: str, num2: str..
1704. Determine if String Halves Are Alike https://leetcode.com/problems/determine-if-string-halves-are-alike/ Determine if String Halves Are Alike - 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 halvesAreAlike(self, s: str) -> bool: vowels = ('a', '..
1913. Maximum Product Difference Between Two Pairs https://leetcode.com/problems/maximum-product-difference-between-two-pairs/ Maximum Product Difference Between Two Pairs - 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) 시간 복잡도 : O(nlogn) 공간 복잡도 : O(1) class Solution: de..