일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Leetcode
- zookeeper
- API Gateway
- 백준
- 머신러닝
- 목표
- Notion
- 회고
- HEXO
- AWSKRUG
- ddd
- 도메인 주도 설계
- github pages
- 2020년
- S3
- serverless
- 아키텍처
- billing
- LAMBDA
- React
- 메세지큐
- amqp
- 알고리즘
- 노션
- finops
- AWS
- CloudWatch
- Kafka
- Zappa
- 하이트진로
- Today
- Total
인생은 고통의 연속
Goal Parser Interpretation 본문
반응형
https://leetcode.com/problems/goal-parser-interpretation/
Goal Parser Interpretation - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
그냥 랜덤픽으로 뽑은건데 이 문제는 처음볼때부터 뭔가했다...
그냥 영어 읽을 수 있나 수준...?
내가 놓치는 뭔가가 있나라고 계속 봤지만 딱히 없는거 같아서 아래처럼 1줄로 제출하고 끝
class Solution:
def interpret(self, command: str) -> str:
return command.replace('(al)', 'al').replace('()', 'o')
이게 날먹...?
나중에 인턴같은거 뽑을때 연습용 문제로 이런거나 줘야지 ㅋㅋ
반응형
'프로그래밍 > 알고리즘' 카테고리의 다른 글
Sum of Subarray Minimums (0) | 2022.02.22 |
---|---|
Statistics from a Large Sample (1) | 2022.01.17 |
Merge Two Sorted Lists (0) | 2022.01.11 |
Rearrange Spaces Between Words (0) | 2021.04.26 |
two sum (0) | 2021.04.22 |
Comments