[DAY 1] Sock Merchant
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
- 자바스크립트
- greedyAlgorithm
- 구간합
- OS
- 알고리즘
- 프로그래머스
- 배치처리시스템
- sort
- Typescript
- 시분할시스템
- 웹팩
- 운영체제
- javascript
- Array
- 타입스크립트
- reduce()
- sort()
- Webpack
- 자료구조
- Algorithm
- React
- 배열
- 컴퓨터공학
- 1day1algorithm
- 리액트
- js
- Props
- redux-saga
- 멀티프로그래밍
- 우아한테크러닝
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함