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 |
Tags
- AI 경진대회
- gs25
- Baekjoon
- 프로그래머스 파이썬
- Docker
- 자연어처리
- 맥북
- PYTHON
- hackerrank
- 캐치카페
- SW Expert Academy
- 더현대서울 맛집
- 편스토랑
- 데이콘
- 백준
- 파이썬
- programmers
- 우분투
- leetcode
- Kaggle
- dacon
- 프로그래머스
- 편스토랑 우승상품
- 금융문자분석경진대회
- Real or Not? NLP with Disaster Tweets
- 코로나19
- Git
- ubuntu
- ChatGPT
- github
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
반응형