본문 바로가기

.Zzumbong

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

  • 전체 (76)
    • Dev (1)
    • coding test (66)
      • leetCode (55)
      • programmers (11)
    • EveryDay (9)
      • Food (2)
      • Game (3)
      • Goods (2)
Guestbook
Notice
Recent Posts
  • [leetCode/JS] 841. Keys and⋯
  • [스팀 인디] 코어 키퍼 50시간 리뷰
  • [신천/새내 데이트] 소마드로잉카페
  • [leetCode/JS] 739. Daily Te⋯
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
  • 게임
  • 전장
  • 하스스톤
  • 우주
  • 코테
  • 유투브
  • 잠실
  • 송파
  • 코딩테스트
  • 맛집
  • 송리단
  • 잠실새내
  • 나쫌
more
Archives
  • 2022/12 (24)
  • 2022/11 (52)
Today
0
Total
627
관리 메뉴

목록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

티스토리툴바