Tree as a type of graph

Tarun Jain
Nov 5, 2022

--

· Tree
· Rooted Trees

Tree

A tree is an undirected graph with no cycles. Equivalently, it is a connected graph with N nodes and N-1 edges.

Source — https://youtu.be/eQA-m22wjTQ

Rooted Trees

A rooted tree is a tree with a designated root node where every edge either points away from or towards the root node . When edges point away from the root the graph is called an arborescence (out-tree) and anti-arborescence (in-tree) otherwise.

Source — https://youtu.be/eQA-m22wjTQ

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response