모-코드

  • 홈
  • 태그
  • 방명록

2024/08/23 1

[DFS/BFS]99클럽 코테 스터디 31일차 TIL + 1653-number-of-good-leaf-nodes-pairs

1653. Number of Good Leaf Nodes PairsMediumYou are given the root of a binary tree and an integer distance. A pair of two different leaf nodes of a binary tree is said to be good if the length of the shortest path between them is less than or equal to distance.Return the number of good leaf node pairs in the tree. Example 1:Input: root = [1,2,3,null,4], distance = 3Output: 1Explanation: The leaf..

문제풀이/일일연습문제 2024.08.23
이전
1
다음
더보기
프로필사진

모-코드

  • 분류 전체보기 (285)
    • 사담과 공담사이 (1)
    • AI (4)
      • AI 실습 (4)
      • AI 정리 (0)
    • 개발 (9)
      • 유용한 규칙 (2)
      • 문제해결 (6)
      • 프로젝트 (1)
    • 배움 __IL (152)
      • WIL (1)
      • TIL 0기 (10)
      • TIL 1기 (107)
      • TIL 2기 (1)
      • addtionalFrontEnd (16)
      • addtionalBackEnd (5)
      • addtionalTools (3)
      • 자료구조&알고리즘 (9)
    • 문제풀이 (106)
      • 자바 (11)
      • 일일연습문제 (95)
    • 서적 (12)
      • FiveLinesOfCode (6)
      • 실전 Redis (6)

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Calendar

«   2024/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • github
  • 네이버블로그

티스토리툴바