🌃
Limited Algorithm
Ctrlk
  • Summary
  • Hash & TreeMap
  • Queue &Stack & PQ
  • Hybrid Data Structure
  • Graph
  • Graph Backtracking and Others
  • Tree
    • Tree Representation
    • Tree Concept
    • Tree with Pure Recursion and Backtracking Summary
    • Tree and Recursion 1
    • Tree Backtracking I: Intro and Compare to Pure Recursion
      • Problem 1 Maximum Path Sum Binary Tree I
      • Problem 2 Maximum Path Sum Binary Tree II 标准recursion模版
      • Problem 3 Maximum PAth Sum Binary Tree III
      • Problem 4 Is Binary Search Tree or Not
      • Problem 5 Binary Tree Path
      • Problem 6 Longest Univalue Path
    • Tree Backtracking II: Compare to Tree Pure Recursion
    • Binary Tree Traversal I Depth First Search
  • Pure Recursion & Backtracking
  • Dynamic Programming
  • Others
  • Array& LinkedList & String
  • Adavance Two Pointer
  • Advance Sliding Window
  • Advance Binary Search
  • Advance Young's Matrix
  • Java Knowledge
Powered by GitBook
On this page
  1. Tree
  2. Tree Backtracking I: Intro and Compare to Pure Recursion

Problem 6 Longest Univalue Path

PreviousProblem 5 Binary Tree PathNextTree Backtracking II: Compare to Tree Pure Recursion