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
- BASIC
- palindrome
- go
- Python
- LLM
- 책리뷰
- book
- K8S
- leetcode
- Container
- Shell
- 나는리뷰어다
- Kubernetes
- 한빛미디어
- docker
- collator
- Fine-Tuning
- kubens
- feed-forward
- 키보드
- Algorithm
- Gemma
- Binary
- Git
- kubernetes context
- lllm
- 파이썬
- AWS
- csv
- error
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
반응형