100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
College aantekeningen

Data structure & algorithms (Binary tree notes)

Beoordeling
-
Verkocht
-
Pagina's
28
Geüpload op
06-09-2025
Geschreven in
2024/2025

his document offers a detailed overview of Binary Trees, a fundamental data structure in computer science. It covers essential topics such as various types of traversal (including pre-order, in-order, and post-order), as well as key operations like insertion, deletion, and searching. Additionally, it includes information on Breadth-First Search (BFS) and provides a comparison between arrays and link lists in the context of tree implementation. This is a valuable resource for students studying data structures.

Meer zien Lees minder
Instelling
Vak










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
6 september 2025
Aantal pagina's
28
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Dr.bilal ashfaq
Bevat
Class 8

Onderwerpen

Voorbeeld van de inhoud

Data Structures and Algorithm
(CC-2042)
Lecture 19
E N G R. D R B I L A L A S H FA Q A H M E D
S C H O O L O F S Y S T E M S A N D T E C H N O LO GY ( S S T )
C O M P U T E R S C I E N C E FA C U LT Y

,Binary Tree
 Binary Tree is a non-linear and hierarchical
data structure where each node has at most
two children referred to as the left child and
the right child. The topmost node in a binary
tree is called the root, and the bottom-most
nodes are called leaves.




09/06/2025 DS

, Arrays are fast when you want to access an element
directly, like element number 700 in an array of 1000
elements for example. But inserting and deleting
elements require other elements to shift in memory to
make place for the new element, or to take the
deleted elements place, and that is time consuming.
Binary
Trees vs
Linked Lists are fast when inserting or deleting nodes,
no memory shifting needed, but to access an element
Arrays
and
inside the list, the list must be traversed, and that
takes time.



Linked
Binary Trees, such as Binary Search Trees and AVL
Trees, are great compared to Arrays and Linked Lists
because they are BOTH fast at accessing a node, AND
Lists
fast when it comes to deleting or inserting a node,
with no shifts in memory needed.




09/06/2025 DS
€8,76
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
hafizhasc

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
hafizhasc umt
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
0
Lid sinds
3 maanden
Aantal volgers
1
Documenten
19
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen