Skip to content

Tree Algo #6

Description

@souvikmahato-sm

Topic: Graph

Subtopic: Tree Algorithms

  • Tree traversal
  • DP to count subtrees of each node
  • Finding diameter of tree
  • Finding Center and Centroid
  • Finding LCA (Binary Lifing)
  • Spanning trees
  • Topological sort

Small Description: Diameter of a tree is the maximum length between two nodes.

Checks:

  • explanation
  • implementation
  • references
  • extra problems for practice

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions