Everything you need to know about tree data structures - Deepstash
Everything you need to know about tree data structures

Everything you need to know about tree data structures

Curated from: medium.com

Ideas, facts & insights covering these topics:

2 ideas

·

207 reads

6

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

Data Trees: Definition

Data Trees: Definition

Trees are well-known as a non-linear data structure. They don’t store data in a linear way. They organize data hierarchically.

A tree is a collection of entities called nodes. Nodes are connected by edges. Each node contains a value or data, and it may or may not have a child node .

14

118 reads

Terminology summary

  • Root is the topmost node of the tree  
  • Edge is the link between two nodes  
  • Child is a node that has a parent node  
  • Parent is a node that has an edge to a child node  
  • Leaf is a node that does not have a child node in the tree  
  • Height is the length of the longest path to a leaf  
  • Depth is the length of the path to its root  

13

89 reads

IDEAS CURATED BY

sarakelly

Product designer

Sarah Kelly's ideas are part of this journey:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates