일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 109. Convert Sorted List to Binary Search Tree
- 715. Range Module
- 43. Multiply Strings
- attribute
- Convert Sorted List to Binary Search Tree
- Python Implementation
- shiba
- 밴픽
- Regular Expression
- 컴퓨터의 구조
- Python Code
- 315. Count of Smaller Numbers After Self
- 프로그래머스
- iterator
- Substring with Concatenation of All Words
- DWG
- concurrency
- 파이썬
- data science
- LeetCode
- kaggle
- Python
- Decorator
- Generator
- Protocol
- 시바견
- t1
- 운영체제
- 30. Substring with Concatenation of All Words
- Class
Archives
- Today
- Total
목록8. String to Integer (atoi) (1)
Scribbling
LeetCode: 8. String to Integer (atoi)
class Solution: def myAtoi(self, s: str) -> int: def delete_whitspace(s): idx = 0 while idx upper_limit: return upper_limit return num if len(s) == 0: return 0 s = delete_whitspace(s) if not s: return 0 first_char = s[0] if firs..
Computer Science/Coding Test
2021. 8. 16. 16:25