일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Protocol
- 109. Convert Sorted List to Binary Search Tree
- 715. Range Module
- concurrency
- attribute
- Regular Expression
- Python Code
- 운영체제
- DWG
- Python Implementation
- 315. Count of Smaller Numbers After Self
- kaggle
- 30. Substring with Concatenation of All Words
- Class
- LeetCode
- 시바견
- 파이썬
- 43. Multiply Strings
- shiba
- Substring with Concatenation of All Words
- Python
- 밴픽
- data science
- iterator
- Convert Sorted List to Binary Search Tree
- Generator
- t1
- 프로그래머스
- 컴퓨터의 구조
- Decorator
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