Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Git
- 파이썬
- 편스토랑
- ChatGPT
- 프로그래머스
- Docker
- ubuntu
- 코로나19
- 백준
- 편스토랑 우승상품
- AI 경진대회
- programmers
- SW Expert Academy
- 더현대서울 맛집
- 프로그래머스 파이썬
- 우분투
- 데이콘
- github
- Baekjoon
- 금융문자분석경진대회
- Real or Not? NLP with Disaster Tweets
- 맥북
- leetcode
- Kaggle
- PYTHON
- gs25
- 캐치카페
- 자연어처리
- dacon
- hackerrank
Archives
- Today
- Total
목록
반응형
ZigZag Conversion (1)
반응형
솜씨좋은장씨
[leetCode] 6. ZigZag Conversion (Python)
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows: string convert(string s, int numRows); Example 1: Input: s = "PA..
Programming/코딩 1일 1문제
2020. 5. 13. 19:47
반응형