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

454. 4Sum II https://leetcode.com/problems/4sum-ii/ 4Sum 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 문제) 솔루션1) brute-force O(n^4)으로 풀었더니 역시나 TLE(Time Limit Exceeded) 발생합니다. class Solution: def fourSumCount(self, nums1: List[int], nums2: List[int], nums3: List[int], nums4: ..

70. Climbing Stairs https://leetcode.com/problems/climbing-stairs/ Climbing Stairs - 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 climbStairs(self, n: int) -> int: ''' f(0) = 0 f(1) = 1 f(2) = 2 f(3) = f(2) + f(1) ... f(n) = f(n-1) + (n-2)..