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 | 31 |
Tags
- LeetCode
- 코테
- javascript
- 송리단
- 하스스톤
- 메일우유
- 서울제빵소
- 알고리즘테스트
- 눈알빠지겠네
- 3d퍼즐
- 발더스3
- 발더스모드
- 발더스게이트
- 맛집
- 코딩테스트
- 천등
- 취미
- 누룽지소금빵
- 노노그램
- 뜨아거
- DIY
- 잠실새내
- 메탈퍼즐
- 게임
- 나쫌
- 토이프로젝트
- 버즈2프로
- 바질토마토뭐시기
- 밥먹고
- 미앤아이
Archives
- Today
- Total
목록2022/12/10 (1)
.Zzumbong
[leetCode/JS] 1339. Maximum Product of Splitted Binary Tree
난이도 [ 🤔 ] Medium 문제 설명 Given the root of a binary tree, split the binary tree into two subtrees by removing one edge such that the product of the sums of the subtrees is maximized. Return the maximum product of the sums of the two subtrees. Since the answer may be too large, return it modulo 109 + 7. Note that you need to maximize the answer before taking the mod and not after taking it. 문제가 좀 복..
coding test/leetCode
2022. 12. 10. 15:30