DELETION OF AN ELEMENT FROM BINARY SEARCH TREE(BST) - DATA STRUCTURES

  Рет қаралды 51,679

Sundeep Saradhi Kanthety

Sundeep Saradhi Kanthety

Күн бұрын

Пікірлер: 79
@karanjoshi8220
@karanjoshi8220 5 жыл бұрын
4 and 7 are also leaf node.
@bhanuprasadjagannadham1723
@bhanuprasadjagannadham1723 4 жыл бұрын
Minimum element of right subtree..to replace the deleting node.
@srikarampriya4782
@srikarampriya4782 4 жыл бұрын
S
@v.s.a.kgaming3312
@v.s.a.kgaming3312 3 жыл бұрын
Yeah 4and 7 are also leaf nodes
@ankitrajgupta1551
@ankitrajgupta1551 4 жыл бұрын
in video if you see your last part i.e at 27:29 min if you will se the position of 13,than it is not satisfying the BST as 13
@creationofinfinitysasa6648
@creationofinfinitysasa6648 3 ай бұрын
ya dear you are right
@kesavapenugadi807
@kesavapenugadi807 4 жыл бұрын
Sir.. u made a mistake at 26:23... i.e 14 element is already replaced at the position of 10.. so 14's child(13) will be at the left of its parent(14).. But u placed at its right
@krishnakantajasu9292
@krishnakantajasu9292 Ай бұрын
Sir, In 27:02 time of this video when you replace 8 with 10 then 13 is placed right of 14 but 13 is less than 14 .So, 13 should be placed left of 14 node. Why are you write 13 is left of 14 node? Please explain Sir.
@universalvisions9820
@universalvisions9820 3 жыл бұрын
And you are explained in tree terminology the two(4,7) also considered as a leaf node
@vinothvk2711
@vinothvk2711 5 жыл бұрын
At 26.44 I think the 13 should be placed in left of 14.. is it correct Bro?
@arnavparmar7818
@arnavparmar7818 5 жыл бұрын
yes
@_SimranSinha
@_SimranSinha 5 жыл бұрын
Yes exactly
@VaibhavBehal
@VaibhavBehal 3 жыл бұрын
Yes
@autotechtraveller8787
@autotechtraveller8787 2 жыл бұрын
Sir at #5:58 why 4 and 7 are nodes with zero children ryt ..
@kumarAjitesh
@kumarAjitesh 2 жыл бұрын
I don't think so. Yes , I agree that a mistake is there but 13 won't be placed as a left child of 14. What I think is , If he would have simply removed the node containing 10 and link the root node10 directly with node 14 without changing the side of node 14 and 13 then he would have avoided from committing the mistake.
@naveenkumar2580
@naveenkumar2580 5 жыл бұрын
I'm preparing for *digital assistant* exam.. Ur videos are very *useful to me*... Please do *networking* , *DBMS , *OS*.. videos If *possible..* Give basic idea of *electronics and electrical according to syllabus* sir
@JaiBadriJaiKedaar
@JaiBadriJaiKedaar 5 жыл бұрын
26:42 does 13 not violate the structure
@swathisriishu253
@swathisriishu253 4 жыл бұрын
Explain me
@fardilviews
@fardilviews 4 жыл бұрын
@@swathisriishu253 13 is less than 14. so 13 should place left side of 14
@153mahesh4
@153mahesh4 4 жыл бұрын
nice hair style and T-shirt sir good explanation
@pradnyavantgangawane7620
@pradnyavantgangawane7620 5 жыл бұрын
sir leaf nodes are 1,4,7,13
@divyasreethithy6470
@divyasreethithy6470 5 жыл бұрын
sir 4 and 7 are also leaf nodes so why cant we delete them
@AdarshKashyap_
@AdarshKashyap_ 5 жыл бұрын
This is only explanation, you have to delete all. Sir was not delete because after deletation tree will became small. If tree is small options for problem will small,Thats why,, you have to delete all one by one
@akashrajput1858
@akashrajput1858 5 жыл бұрын
I have a doubt sir If we delete a node with no children I think 4 & 7 should also be deleted because 4 and 7 have no children
@Jonny-op3wr
@Jonny-op3wr 4 жыл бұрын
I dont know if you still needed an answer but he was saving those two leaf nodes to show how to delete a parent node with two children thats why he didnt mention them
@Srikrishna9999
@Srikrishna9999 4 жыл бұрын
Exactly
@deepaksaxena2182
@deepaksaxena2182 4 жыл бұрын
Hello sir....sir i have two doubts in this lecture.....plzz clear them sir.. 1) Sir why did you consider element 13 as node with no child..is it not a leaf element sir..So can we consider 4 and 7 also in same category. 2)And sir when you delete 8 root element with right sub tree then sir then sir how this element 13 comes in right to element 14.... Plzz clear it sir...i request.
@kosbal1356
@kosbal1356 3 жыл бұрын
Sir while removing 8, in second method, elements 13 is replaced with 14th element place, but element 13 is less then 14 , so 13 should be in less side only .but u mentioned 13 in right side ,why ?
@ElonMusk-wo7zf
@ElonMusk-wo7zf 3 жыл бұрын
Exactly
@whatsappstatus3893
@whatsappstatus3893 Жыл бұрын
Same doubt
@aayushmanparashar2265
@aayushmanparashar2265 5 жыл бұрын
Why 4 and 7 arent leaf node??? They also dont have any child!!
@FitLifeWithAnshul
@FitLifeWithAnshul 5 жыл бұрын
I also want t know.
@sharonyabanerjee2867
@sharonyabanerjee2867 5 жыл бұрын
Where the code ?
@devapogukumarkumar9854
@devapogukumarkumar9854 3 жыл бұрын
Good morning Sir 3 rd case we will place the 13 is left to 14 sir. Iam I right sir. TQ.
@rushikeshpokale5634
@rushikeshpokale5634 4 жыл бұрын
i usually do like your videos but in this video you didn't explain the algo you just stated what to do after deleting node not how to delete it. According to the video while writing code we use duster the way you r using to delete node.
@Rishi7-e6g
@Rishi7-e6g Жыл бұрын
sir plz..provide practical means(code) videos like insertion and deletion in Bst ,how to create BST ,how to insert a data into bst
@vijayasethurathinam1106
@vijayasethurathinam1106 Жыл бұрын
Sir while deleting the node 8 in last step how 13 will be placed in right side
@mandlasiddhartha6531
@mandlasiddhartha6531 2 жыл бұрын
Nice sir ❤️👍
@universalvisions9820
@universalvisions9820 3 жыл бұрын
Sir why would we not consider as 4 and 7 is a leaf nodes
@kanagavalli4769
@kanagavalli4769 4 жыл бұрын
13 is less than 14 and it should be placed to left of 14 ..is it right?
@priyapinto3820
@priyapinto3820 5 жыл бұрын
Hello sir, w hether we should be place 13 on left of 14 or right?
@swathisriishu253
@swathisriishu253 4 жыл бұрын
Explain me
@ravitejareddy1518
@ravitejareddy1518 4 жыл бұрын
13 should be left
@mojeshmeka9317
@mojeshmeka9317 3 жыл бұрын
sir in case 1: deleting the leaf nodes why you are only taken 1,13 why not 4,7 can u explain it sir
@hemanththota7379
@hemanththota7379 5 жыл бұрын
sir pls add pseudo code for insertion and deletion in bst in description and make a vedio on them if possible.U have given psuedo code from searching only.Pls increase the implementation part for trees concept.
@priyanshu8022
@priyanshu8022 4 жыл бұрын
Why are 4 and 7 not considered as leaf nodes??
@kamalpola3303
@kamalpola3303 4 жыл бұрын
In first example 4,7 are leaf nodes why you not deleted the leaf nodes
@autotechtraveller8787
@autotechtraveller8787 2 жыл бұрын
Hello 4 and 7 aslo doesn't have children ryt... Thn 4,7 are leaf nodes
@telagareddymaninagasatishk2974
@telagareddymaninagasatishk2974 5 жыл бұрын
can u make videos on implementation of trees and implementation BST ,it will helpful to everyone.
@shreyanshkapasi4458
@shreyanshkapasi4458 4 жыл бұрын
4 and 7 are also leaf nodes right
@anjalips8184
@anjalips8184 2 жыл бұрын
Sir i have a doubt.... 13 is placed on the left side? Right side?.. ( bcoz 13 is less than 14)
@universalvisions9820
@universalvisions9820 3 жыл бұрын
Sir in last problem 13 is less than 14 so that node will on left side sir
@AdarshKashyap_
@AdarshKashyap_ 5 жыл бұрын
Thanq very much sir
@yasminsk4613
@yasminsk4613 5 жыл бұрын
Why we should not take 4 ,7 as leaf nodes
@prathamgupta6973
@prathamgupta6973 2 жыл бұрын
4 and 7 are also leaf nodes but sir might forget to write them
@poojagoud3935
@poojagoud3935 Жыл бұрын
Sir, What is the procedure..in case of Alphabet letters (A,B,C...)
@nidhisingh3815
@nidhisingh3815 4 жыл бұрын
In deletion of BST we have already deleted 6. Then, why we including 6 while deleting 3 or we have to delete all the three elements that is 8,3,6 separately???? Please answer
@kalappadanirfan7403
@kalappadanirfan7403 3 жыл бұрын
Sir, pls answer this, we all have the same doubt
@abdulllah4855
@abdulllah4855 5 жыл бұрын
Sir can you make a video on threaded binary tree in data structures please
@jagadevaas9169
@jagadevaas9169 5 жыл бұрын
Hi sir please explain with the program...! I don’t see any video with the implementation part..!
@mmsalmanmm
@mmsalmanmm 5 жыл бұрын
nice... sir can u please share ur cyber security syllabus please... i m waiting for your responce
@pratikjussal1367
@pratikjussal1367 4 жыл бұрын
Sir i have a doubt. I think 4 and 7 is also leaf nodes
@AkshaysaiSai
@AkshaysaiSai 2 жыл бұрын
Sir last two child deletion on 13 should be at left side na
@AmmuAmmu-yp2ip
@AmmuAmmu-yp2ip 4 жыл бұрын
But 4,7 alsobtha leaf nodes sir
@A.n.a.n.d.k.r.
@A.n.a.n.d.k.r. 5 жыл бұрын
Love your t-shirt sir
@jojothomaskollamparampil1279
@jojothomaskollamparampil1279 3 жыл бұрын
I found some mistakes,4 and 7 are also leaf nodes, also at last part of the video, 13 should be the left child of 14
@samadritamukherjee6198
@samadritamukherjee6198 3 жыл бұрын
yass
@jyoshnareddy4178
@jyoshnareddy4178 4 жыл бұрын
In the first example 4,7 is also leaf node but why u not deleted sir But u said 1,13 is only a leaf nodes
@sairy4530
@sairy4530 3 жыл бұрын
In the deletion of a node having no child Y u didn't declare 4,7 as leaf nodes 4,7 are also leaf nodes If 4,7 are not leaf nodes explain reason U can explain here itself because this doubt may rise for another also
@venreddysaikiranreddy
@venreddysaikiranreddy 11 ай бұрын
algorithms??
@heystranger5866
@heystranger5866 4 жыл бұрын
Sir plz explain with code
@battulapavani6516
@battulapavani6516 2 жыл бұрын
7 and 4 also have no child nodes
@Prashant-Dixit
@Prashant-Dixit 4 жыл бұрын
Expected code to understand in more appropriate manner
@nageswarrao2848
@nageswarrao2848 3 жыл бұрын
Sir 4 and 7 also don't have children then they canbe leaf node but y u took 1 ,13 as leaf node.
@hemanthsm7415
@hemanthsm7415 5 жыл бұрын
nice sir ..sir start web programming sir ....waiting for ur class sir
@SyedMahammadali-kn6ny
@SyedMahammadali-kn6ny 4 жыл бұрын
I think leaf elements is 1,4,7,13 here i think ur wrong sir
@technicaltalk8715
@technicaltalk8715 4 жыл бұрын
Sir.. at 26.44... 13 is placed right to the 14 ... Is it correct??.. Plz explain sir
@_SIVABANDLA
@_SIVABANDLA 4 жыл бұрын
Sir i think u made a mistake at 13
@_SIVABANDLA
@_SIVABANDLA 4 жыл бұрын
i.e., 13 is the left child of 14.because 13 is less than 14
SEARCHING AN ELEMENT IN BINARY SEARCH TREE (BST) - DATA STRUCTURES
20:14
Sundeep Saradhi Kanthety
Рет қаралды 48 М.
TREE TERMINOLOGY - DATA STRUCTURES
30:12
Sundeep Saradhi Kanthety
Рет қаралды 98 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
deletion of a node in binary search tree|binary search tree node deletion
19:43
BINARY TREE TRAVERSALS WITH EXAMPLE - DATA STRUCTURES
22:56
Sundeep Saradhi Kanthety
Рет қаралды 92 М.
Python Program To Implement Binary Search Tree | Program 2 | Insertion
18:28
Delete a node from Binary Search Tree( Reason for every operation explained)
23:09
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 97 М.
AVL TREE - DATA STRUCTURES
17:06
Sundeep Saradhi Kanthety
Рет қаралды 65 М.
BINARY TREE REPRESENTATION - DATA STRUCTURES
17:12
Sundeep Saradhi Kanthety
Рет қаралды 70 М.
10.1 AVL Tree - Insertion and Rotations
43:08
Abdul Bari
Рет қаралды 1,3 МЛН
GRAPH TERMINOLOGY & TYPES OF GRAPHS - DATA STRUCTURES
19:10
Sundeep Saradhi Kanthety
Рет қаралды 100 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН