본문 바로가기

.Zzumbong

검색하기
프로필사진
.Zzumbong
Front-End 개발자의 탐험 일지 Keep Exploring!.
Work smart not hard.
포트폴리오
  • 전체 (126)
    • Dev (5)
    • coding test (87)
      • leetCode (76)
      • programmers (11)
    • EveryDay (6)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)
    • AI와 함께 망상하기 (1)

  • 전체 (126)
    • Dev (5)
    • coding test (87)
      • leetCode (76)
      • programmers (11)
    • EveryDay (6)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)
    • AI와 함께 망상하기 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/01   »
일 월 화 수 목 금 토
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
  • 30mf
  • 제프딕슨
  • 블라인드박스
  • 노노그램
  • 메탈퍼즐
  • 지쿠악스
  • 지리데칼
  • javascript
  • 건담
  • DIY
  • 롱라이플
  • 프라모델
  • 포켓몬
  • 코테
  • 미앤아이
  • 코딩테스트
  • LeetCode
  • 발더스게이트
  • 유루건
  • 밥무하마드
  • 우주
  • 눈알빠지겠네
  • 취미
  • 바질토마토뭐시기
  • 가챠
  • 우리시대의역설
  • 게임
  • 맛집
  • 건담헤드
  • 발더스모드
more
Archives
Today
Total
관리 메뉴

목록2026/01/07 (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. 입출력 예E..

coding test/leetCode 2026. 1. 7. 09:41
이전 Prev 1 Next 다음

Blog is powered by Daum / Designed by Tistory

티스토리툴바