Python Program To Implement Binary Search Tree | Program 3 | Search Operation

  Рет қаралды 31,211

Amulya's Academy

Amulya's Academy

Күн бұрын

Пікірлер: 55
@ritvikranjan5306
@ritvikranjan5306 3 жыл бұрын
This channel is very underrated. I was struglling a lot on this concept , but after watching ur lctre it is becoming clear to me. Than u so much mam
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@aasthapant
@aasthapant 7 ай бұрын
every concept is readily explained, the only python ds channel i can trust and understand
@mitheshpatel6806
@mitheshpatel6806 Жыл бұрын
guys instead of the 2nd if statemnet use elif , it will work ....Thanks alot amu maam
@baherualemu7129
@baherualemu7129 2 жыл бұрын
you are my 1st choice in youtube !!!!!thank you Amu !!!!
@sivasrimakurthi206
@sivasrimakurthi206 6 ай бұрын
@amulya - your style of tracing the flow of program/control is EXCELLENT, feels like computer is tracing the instructions !! simply like your way of teaching Data Structures !!😊
@snex-techprogrammer5110
@snex-techprogrammer5110 2 жыл бұрын
Excellent level of teaching...This channel is underrated.
@belalahmad6614
@belalahmad6614 3 жыл бұрын
Love your explanations. i struggle with this data structure, but i know you explained it better than my lecturer.
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@abhishekanand9679
@abhishekanand9679 2 жыл бұрын
Thanks a lot yarr, actually searching for DSA in python for long time but didnt got any video as that much easy as u taught in your video.
@suchitranagarajan7715
@suchitranagarajan7715 3 жыл бұрын
Thank you so much for explaining so beautifully.....the concepts are now clear by seeing your videos...I prepare for interview watching your videos...Please upload more videos on data structures various concepts if you have time....It would help us a lot.
@Brian-vz5et
@Brian-vz5et 3 жыл бұрын
Fantastic teaching ability! Even explain recursion well! Great video!
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@mushrafbehlim9546
@mushrafbehlim9546 Жыл бұрын
ma'am superb you are explaining BST
@mohinijoshi1402
@mohinijoshi1402 2 жыл бұрын
thanks mam, you explained very well
@changkris2844
@changkris2844 3 жыл бұрын
very helpful,love you
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@niteshasale6400
@niteshasale6400 3 жыл бұрын
thank you so much easy to understand every concept.... plz tell me which IDE use to you.....
@daphnecheung1026
@daphnecheung1026 3 жыл бұрын
THank you! very easy to follow
@black_eye7105
@black_eye7105 3 жыл бұрын
Thanks a lot 🌹.try to complete all the data structure concepts in python
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Sure :)
@prathameshmore5262
@prathameshmore5262 2 жыл бұрын
Good tutorial on BST thanks
@subbuk5347
@subbuk5347 3 жыл бұрын
I think we have to add one more case that "If tree is empty" ?
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Yeah.. you can add 😊
@Redvelvet-gv1tv
@Redvelvet-gv1tv 3 жыл бұрын
hello i love your explanation, it is very understandable but only problem for me if execute the program it shows BST object has no attribute 'search'
@AtifImamAatuif
@AtifImamAatuif 3 жыл бұрын
You are the best . :)
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@vijays-rd8uc
@vijays-rd8uc 3 жыл бұрын
Thank you for your service akka
@srinivassathya5098
@srinivassathya5098 2 жыл бұрын
Can we right as If self.lchild is not None: it also suggest the same operation no ma'am can clarify please And thankyou soo much for ur nice explanation
@birkaransingh8207
@birkaransingh8207 3 жыл бұрын
Ma'am what if we also have to return the reference to the Node founded? Should I change something in return statement?
@BCS-zt6eo
@BCS-zt6eo 2 жыл бұрын
LOTS OF LOVE
@vishantjain7061
@vishantjain7061 3 жыл бұрын
Thanks a lot mam 🙏🏽
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Pleasure :)
@vishantjain7061
@vishantjain7061 3 жыл бұрын
Mam plz upload video on python interview question
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
I will try :)
@darkxxslayer2109
@darkxxslayer2109 3 жыл бұрын
Thanks mam pls upload deletion of node next plsss...
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Traversal after that deletion :)
@lohith9471
@lohith9471 2 жыл бұрын
hello mam, it would be great if you can look into this bug mam. I'm not sure what I'm missing here. def search(self,key): if self.data == None: print("tree is empty") if self.data == key: print("data found") print(self.data,"",key) return self.data if key self.data: if self.right: self.right.search(key) else: print("data not found") search_res = root.search(876) print("result is",search_res) in this code I'm unable to return the self.data value. search_res always prints the value "None" irrespective of data present or not.
@ayyappareddy4461
@ayyappareddy4461 3 жыл бұрын
thank you mam..
@inzamam483
@inzamam483 3 жыл бұрын
can you please share the code for taking the value from user.
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Take input from user store that in a variable then use that function call 😊
@techinnovation7457
@techinnovation7457 2 жыл бұрын
Why didn't you check empty tree condition?
@alexikamran7039
@alexikamran7039 3 күн бұрын
my search data shows its always found in the root, why?
@bikeshregmi946
@bikeshregmi946 3 жыл бұрын
best
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@usmanakhtar9155
@usmanakhtar9155 Жыл бұрын
code is working for first element in list only.
@selvanm2872
@selvanm2872 3 жыл бұрын
👍👍👍
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you :)
@prashantnegi6522
@prashantnegi6522 3 жыл бұрын
What if tree is empty ?
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
You can include that condition too 😊
@vasukonde7962
@vasukonde7962 3 жыл бұрын
The code is not working 😔
@jithendra5322
@jithendra5322 4 ай бұрын
class BST: def __init__(self,key): self.key=key self.rchild=None self.lchild=None def insert(self,data): if self.key is None: self.key=data if self.key>data: if self.lchild: self.lchild.insert(data) else: self.lchild=BST(data) else: if self.rchild: self.rchild.insert(data) else: self.rchild=BST(data) def search(self,data): if self.key==data: print("Node is found") return if data
@maheshpulle6674
@maheshpulle6674 2 жыл бұрын
Please provide this code file in github so it's much more help full for learner's
@zouhir2010
@zouhir2010 2 жыл бұрын
love ya
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Binary Trees in Python: Introduction and Traversal Algorithms
28:40
LucidProgramming
Рет қаралды 215 М.
Binary Search Tree in Python
22:59
NeuralNine
Рет қаралды 57 М.
Python Program To Implement Binary Search Tree | Program 2 | Insertion
18:28
BINARY SEARCH TREE (BST) AND ITS OPERATIONS - DATA STRUCTURES
14:32
Sundeep Saradhi Kanthety
Рет қаралды 94 М.
Python Program To Implement Binary Search Tree | Program 1
9:03
Amulya's Academy
Рет қаралды 69 М.
Python Tutorials - Singly Linked List | Program | Part 1
15:55
Amulya's Academy
Рет қаралды 266 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН