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
- 자연어처리
- 코로나19
- 파이썬
- programmers
- PYTHON
- Git
- 편스토랑 우승상품
- Kaggle
- github
- 프로그래머스 파이썬
- AI 경진대회
- 맥북
- leetcode
- SW Expert Academy
- Baekjoon
- dacon
- 데이콘
- ChatGPT
- 프로그래머스
- gs25
- 캐치카페
- 백준
- 편스토랑
- hackerrank
- ubuntu
- 더현대서울 맛집
- Real or Not? NLP with Disaster Tweets
- 우분투
- 금융문자분석경진대회
- Docker
Archives
- Today
- Total
목록
반응형
Sock Merchant (1)
반응형
솜씨좋은장씨
[HackerRank] Sock Merchant (Python)
John works at a clothing store. He has a large pile of socks that he must pair by color for sale. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are. For example, there are n = 7 socks with colors ar = [1, 2, 1, 2, 1, 3, 2] . There is one pair of color 1 and one of color 2. There are three odd socks left, one of each c..
Programming/코딩 1일 1문제
2020. 3. 6. 12:45
반응형