Problem no.93 Restore IP Address Question: Given a string containing only digits, restore it by returning all possible valid IP address combinations. A valid IP address consists of exactly four integers (each integer is between 0 and 255) separated by single points. Solution: class Solution: def restoreIpAddresses(self, s: str) -> List[str]: l = len(s) if l 4*3: return [] ans = set() ..
Development/Algorithms
2020. 6. 6. 19:06
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- palindrome
- Algorithm
- 책리뷰
- Shell
- Binary
- Gemma
- Fine-Tuning
- go
- lllm
- book
- AWS
- Python
- leetcode
- csv
- Kubernetes
- 파이썬
- feed-forward
- 한빛미디어
- LLM
- BASIC
- Container
- error
- K8S
- 키보드
- collator
- Git
- kubernetes context
- docker
- kubens
- 나는리뷰어다
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
반응형