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 |
Tags
- Debug
- TABLESPACE
- java api
- custom hook
- DB2
- type
- JDBC
- TypeScript
- codewar
- react hook
- manifest.json
- useEffect
- react
- codewars
- IBM
- isSquare
- descendingOrder
Archives
- Today
- Total
taesik
2D array of number. to find the sum of minimum value in each row. 본문
functions and trick/typescript_javascript
2D array of number. to find the sum of minimum value in each row.
taesikk 2022. 1. 24. 13:28function sumOfMinimums(arr) {
return arr.reduce((p, c) => p + Math.min(...c), 0);
}'functions and trick > typescript_javascript' 카테고리의 다른 글
| diamond with * (0) | 2022.01.24 |
|---|---|
| persistence function that takes in a positive parameter num and returns its multiplicative persistence, which is the number of times you must multiply the digits in num until you reach a single digit. (0) | 2022.01.24 |
| has the same amount of 'x's and 'o's. (0) | 2022.01.23 |
| contain_all_rotation (0) | 2022.01.23 |
| Nth Smallest Element (0) | 2022.01.23 |