본문 바로가기

.Zzumbong

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

  • 전체 (124)
    • Dev (5)
    • coding test (87)
      • leetCode (76)
      • programmers (11)
    • EveryDay (31)
      • 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
  • 가챠
  • 포켓몬
  • DIY
  • 게임
  • 블라인드박스
  • 롱라이플
  • LeetCode
  • 취미
  • 코딩테스트
  • 프라모델
  • 지쿠악스
  • 밥무하마드
  • 건담
  • javascript
  • 바질토마토뭐시기
  • 제프딕슨
  • 메탈퍼즐
  • 발더스게이트
  • 지리데칼
  • 유루건
  • 발더스모드
  • 노노그램
  • 코테
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 kakao / Designed by Tistory

티스토리툴바