본문 바로가기

.Zzumbong

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

  • 전체 (113)
    • Dev (5)
    • coding test (77)
      • leetCode (66)
      • 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
  • 가챠
  • 코테
  • 30mf
  • 밥무하마드
  • 제프딕슨
  • 코딩테스트
  • 블라인드박스
  • DIY
  • 발더스모드
  • 프라모델
  • javascript
  • 취미
  • 건담
  • 유루건
  • 게임
more
Archives
Today
Total
관리 메뉴

목록2022/12/09 (1)

.Zzumbong

[leetCode/JS] 1026. Maximum Difference Between Node and Ancestor

난이도 [ 🤔 ] Medium 문제 설명 Given the root of a binary tree, find the maximum value v for which there exist different nodes a and b where v = |a.val - b.val| and a is an ancestor of b. A node a is an ancestor of b if either: any child of a is equal to b or any child of a is an ancestor of b. 이진트리의 상위, 하위 노드의 a-b 의 최대값을 찾는 문제다. 입출력 예 Example 1: Input: root = [8,3,10,1,6,null,14,null,null,4,7,13] Outpu..

coding test/leetCode 2022. 12. 9. 10:48
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바