In this part 2 tutorial of binary tree, binary search tree (a.k.a BST), we will see how you can delete a node from a binary search tree. We will look at 3 different cases where a node you are deleting is a leaf node, or it has only one child or it has two children. We can handle deletion in different ways in these cases. We will implement node deletion in python and in the end there will be an exercise that you can practice your skills on.
Exercise: https://github.com/codebasics/data-st...
Code of this video: https://github.com/codebasics/data-st...
Topics:
00:00 Introduction
00:21 Theory behind node deletion
04:13 Python code for node deletion
14:21 Exercise
#datastructures #algorithms #python
Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses.
Next Video: • Graph Introduction - Data Structures & Alg...
Previous video: • Binary Tree Part 1 | BST | Binary Search T...
Complete playlist: • Data Structures And Algorithms In Python
Website: https://codebasics.io/
Facebook: / codebasicshub
Twitter: / codebasicshub
Sur cette page du site, vous pouvez voir la vidéo en ligne Binary Tree Part 2 | BST | Binary Search Tree - Data Structures & Algorithms Tutorials In Python #11 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codebasics 20 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 102,093 fois et il a aimé 1.9 mille téléspectateurs. Bon visionnage!