반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- repaint
- 참조형 props의 default
- vue 컴포저블 함수
- 화살표 함수 중괄호
- component is already mounted please use $fetch instead.
- vue draggable 차트 안나옴
- d3 지도 툴팁
- d3 지도 타입스크립트
- nuxt universal rendering
- d3 지도
- 함수형 프로그래밍
- firebase id 자동
- vue composable 함수
- 참조형 default
- ToDo
- ecmascript modules(esm)
- git
- 인터넷 거버넌스
- 화살표 함수 {}
- commonjs와 ecmascript modules(esm)
- 다자 이해관계자 모델
- reflow
- last-modified
- vue3 drag and drop
- usefetch
- $fetch
- d3 지도 확대/축소
- cloud firestore id auto increment
- Learning React
- vuedraggable
Archives
- Today
- Total
목록알고리즘 배열의 평균값 (1)
빵 입니다.
[프로그래머스] 배열의 평균값
문제 설명 정수 배열 numbers가 매개변수로 주어집니다. numbers의 원소의 평균값을 return하도록 solution 함수를 완성해주세요. 제한 사항 0 ≤ numbers의 원소 ≤ 1,000 1 ≤ numbers의 길이 ≤ 100 정답의 소수 부분이 .0 또는 .5인 경우만 입력으로 주어집니다. 입출력 예 numbers result [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] 5.5 [89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99] 94.0 나의 풀이 function solution(numbers) { let answer = 0; const num = numbers.length; numbers.map(item => answer += item); ans..
알고리즘과 자료구조/알고리즘
2023. 5. 10. 01:49