일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 30. Substring with Concatenation of All Words
- 프로그래머스
- Convert Sorted List to Binary Search Tree
- 109. Convert Sorted List to Binary Search Tree
- Generator
- Decorator
- kaggle
- concurrency
- 파이썬
- 컴퓨터의 구조
- attribute
- 715. Range Module
- Python Implementation
- Class
- Python
- 시바견
- Protocol
- 운영체제
- Regular Expression
- Substring with Concatenation of All Words
- shiba
- 315. Count of Smaller Numbers After Self
- 43. Multiply Strings
- t1
- Python Code
- 밴픽
- iterator
- DWG
- LeetCode
- data science
Archives
- Today
- Total
목록Russian Doll Envelopes (1)
Scribbling
LeetCode: 354. Russian Doll Envelopes
매우 어려운 문제였다. 다만 아래 문제를 먼저 풀면, 이 문제도 쉽게 풀 수 있다. https://focalpoint.tistory.com/179 LeetCode: 300. Longest Increasing Subsequence - 시바견의 끄적임 1. 가장 간단한 DP 형태 O(N**2)이다. class Solution: def lengthOfLIS(self, nums: List[int]) -> int: dp = [0] * len(nums) dp[0] = 1 for i in range(1, len(nums)): temp = -1 j = i - 1 while j >= 0: if n.. focalpoint.tistory.com from bisect import bisect_left class Solutio..
Computer Science/Coding Test
2021. 11. 15. 13:34