![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/b2UEqS/btqyJRwHiPF/cAxlkRTWne7TP7h3iXmFE0/img.jpg)
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 color. The n..
1Day 1Algorithm
2019. 10. 1. 20:05
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 멀티프로그래밍
- Props
- OS
- 시분할시스템
- reduce()
- 배치처리시스템
- 자료구조
- React
- 구간합
- 우아한테크러닝
- redux-saga
- 컴퓨터공학
- js
- 리액트
- 배열
- Algorithm
- sort()
- 1day1algorithm
- javascript
- greedyAlgorithm
- 알고리즘
- sort
- 타입스크립트
- 자바스크립트
- 운영체제
- 프로그래머스
- Array
- Typescript
- Webpack
- 웹팩
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함