Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 49e833d

Browse files
solve: 더 크게 합치기
1 parent 7264986 commit 49e833d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎Level0/PRO181939.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Solution 1
2+
const combineNumbers = (firstNum, lastNum) => {
3+
return Number(`${firstNum}${lastNum}`);
4+
};
5+
6+
const solution = (a, b) => {
7+
return Math.max(...[combineNumbers(a, b), combineNumbers(b, a)]);
8+
};

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,4 @@
290290
| 23.11.19. | `Level 0` | [합성수 찾기](https://school.programmers.co.kr/learn/courses/30/lessons/120846) | [JS](https://github.com/JeongHwan-dev/Algorithm-solving-with-js/blob/master/Level0/PRO120846.js) |
291291
| 23.11.21. | `Level 0` | [1로 만들기](https://school.programmers.co.kr/learn/courses/30/lessons/181880) | [JS](https://github.com/JeongHwan-dev/Algorithm-solving-with-js/blob/master/Level0/PRO181880.js) |
292292
| 23.11.21. | `Level 0` | [문자열 묶기](https://school.programmers.co.kr/learn/courses/30/lessons/181855) | [JS](https://github.com/JeongHwan-dev/Algorithm-solving-with-js/blob/master/Level0/PRO181855.js) |
293+
| 23.11.22. | `Level 0` | [더 크게 합치기](https://school.programmers.co.kr/learn/courses/30/lessons/181939) | [JS](https://github.com/JeongHwan-dev/Algorithm-solving-with-js/blob/master/Level0/PRO181939.js) |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /