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
- 백준
- 맥북
- Kaggle
- ubuntu
- hackerrank
- leetcode
- github
- 더현대서울 맛집
- dacon
- 코로나19
- Real or Not? NLP with Disaster Tweets
- 프로그래머스
- Docker
- 편스토랑
- Baekjoon
- AI 경진대회
- 프로그래머스 파이썬
- 우분투
- 캐치카페
- 금융문자분석경진대회
- 데이콘
- PYTHON
- 자연어처리
- gs25
- 편스토랑 우승상품
- programmers
- ChatGPT
- Git
- SW Expert Academy
- 파이썬
Archives
- Today
- Total
목록
반응형
Sort Colors (1)
반응형
솜씨좋은장씨
[leetCode] 75. Sort Colors (Python)
Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively. Note: You are not suppose to use the library's sort function for this problem. Example: Input: [2,0,2,1,1,0] Output: [0,0,..
Programming/코딩 1일 1문제
2020. 6. 3. 17:55
반응형