Software Engineering KB

Home

❯

01 Foundations

❯

01 Algorithms

❯

01 Concept

❯

On Trees

On Trees

Feb 10, 20261 min read

  • algorithms
  • dynamic-programming
  • tree-dp

On Trees

← Back to Dynamic Programming

Dynamic programming applied to tree-structured data. Tree DP computes optimal solutions by processing subtrees bottom-up or using rerooting techniques to efficiently compute answers for all root choices.

Key Properties

  • Tree DP
  • Rerooting

algorithms dynamic-programming tree-dp


Graph View

  • On Trees
  • Key Properties

Backlinks

  • Dynamic Programming
  • Rerooting
  • Tree DP

Created with Quartz v4.5.2 © 2026

  • GitHub