본문 바로가기

.Zzumbong

검색하기
프로필사진
.Zzumbong
Front-End 개발자의 탐험 일지 Keep Exploring!.
Work smart not hard.
포트폴리오
  • 전체 (114)
    • Dev (5)
    • coding test (78)
      • leetCode (67)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)

  • 전체 (114)
    • Dev (5)
    • coding test (78)
      • leetCode (67)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2022/12   »
일 월 화 수 목 금 토
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
  • 미앤아이
  • 노노그램
  • 밥무하마드
  • 맛집
  • 코테
  • 제프딕슨
  • 코딩테스트
  • 눈알빠지겠네
  • 지리데칼
  • 프라모델
  • DIY
  • 누룽지소금빵
  • 롱라이플
  • 발더스게이트
  • 게임
  • 가챠
  • 건담헤드
  • 바질토마토뭐시기
  • 30mf
  • 지쿠악스
  • 우리시대의역설
  • 메탈퍼즐
  • 블라인드박스
more
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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바