Linked List - Data Structures & Algorithms Tutorials with Python in Hindi #4

  Рет қаралды 48,032

codebasics Hindi

codebasics Hindi

Күн бұрын

Пікірлер: 54
@codebasicsHindi
@codebasicsHindi 2 жыл бұрын
Complete Data Analyst Roadmap 2023 in Hindi:kzbin.info/www/bejne/Y5vCeaGPnK6dh9k Do you want to learn python from me with a lot of interactive quizzes, and exercises? Here is my project-based python learning course: codebasics.io/courses/python-for-beginner-and-intermediate-learners?
@techbee9623
@techbee9623 3 жыл бұрын
First time in life I found best explanation of Data Structure we really need this type of Explanation that is very helpful to us. Thankyou Sir🙏
@codebasicsHindi
@codebasicsHindi 3 жыл бұрын
Glad it was helpful!
@rohitgupta6591
@rohitgupta6591 3 жыл бұрын
Your explanation is better than Udemy Paid Courses. It was really very helpful.
@utkarshgupta7371
@utkarshgupta7371 3 жыл бұрын
Nice explanation sir please continue this series and complete it
@AshutoshRYadav
@AshutoshRYadav Жыл бұрын
class Node: def __init__(self,data,next_obj): self.data=data self.next_obj=next_obj class Linkedlist: def __init__(self): self.head=None def insert_at_begining(self,data): node=Node(data,self.head) self.head=node def display_data(self): itr=self.head linked_list='' while itr: suffix='' nxt=None if itr.next_obj: suffix +='-->' nxt='Next' #linked_list +=f'[{str(itr.data)}|{str(itr.next_obj)}]'+suffix linked_list +=f'[{str(itr.data)}|{nxt}]'+suffix itr=itr.next_obj print(linked_list) def get_length(self): itr=self.head count=0 while itr.next_obj: count+=1 itr=itr.next_obj return count def insert_at_last(self,data): itr=self.head if itr is None: self.head=Node(data,None) return while itr.next_obj: itr=itr.next_obj itr.next_obj=Node(data,None) def insert_at_n(self,data,index): itr=self.head if index self.get_length(): raise Exception('Invalid index provided') elif index==0: self.insert_at_begining(data) return else: count=0 while itr: if count==index-1: node=Node(data,itr.next_obj) itr.next_obj=node itr=itr.next_obj count+=1 add_data=Linkedlist() add_data.insert_at_begining(5) add_data.insert_at_begining(6) add_data.insert_at_begining(1) add_data.insert_at_begining(4) add_data.insert_at_begining(8) add_data.display_data() add_data.insert_at_last(7) add_data.insert_at_last(10) add_data.insert_at_last(12) add_data.insert_at_last(15) add_data.display_data() add_data.insert_at_n(70,2) add_data.insert_at_n(80,3) add_data.insert_at_n(90,4) add_data.insert_at_n(1000,0) add_data.display_data()
@ayushsharma4842
@ayushsharma4842 2 жыл бұрын
sir will you please extend the course as you are the only one o yt who is teaching dsa course in python please add more videos
@ayushpal790
@ayushpal790 2 жыл бұрын
great work easy explanation, that's what I was looking for. please make more such videos in hindi. TY
@spred9ledge272
@spred9ledge272 3 жыл бұрын
Thank you so much sir great explanation !!
@codebasicsHindi
@codebasicsHindi 3 жыл бұрын
Glad it was helpful!
@digvijaysingh325
@digvijaysingh325 2 жыл бұрын
great video sir
@yashpawar7640
@yashpawar7640 4 ай бұрын
Thank you Sir
@akashpawar9058
@akashpawar9058 2 жыл бұрын
Very nice sir
@PGhai
@PGhai 2 жыл бұрын
Bhai at 7:55 you mentioned about zen mode, what is it and why to use?
@digvijaysingh325
@digvijaysingh325 2 жыл бұрын
try finding answers on Google first you will probably find answers so Zen mode in PyCharm combines the Full Screen and Distraction-free modes, so the main window expands leaving only the editor with the source code for you to focus on programming
@astrotiles9728
@astrotiles9728 Ай бұрын
27:51 bro wanted to give some villian laugh
@12-fret82
@12-fret82 3 жыл бұрын
Love From Nepal Sir G ❤
@tejasvasoni939
@tejasvasoni939 3 жыл бұрын
Great work
@srsofts7885
@srsofts7885 2 жыл бұрын
Thank You So Much Sir
@amiteshparihar2708
@amiteshparihar2708 2 жыл бұрын
sir ye video unhi k liye h na jinhe python ata h new developer ko to kch smjh nh ayega
@shubhamudsaria5275
@shubhamudsaria5275 4 ай бұрын
why aren't we using tail to remove last element? @codebasicsHindi
@digvijaysingh325
@digvijaysingh325 2 жыл бұрын
please upload videos on algorithms as well
@UserLuckProfile
@UserLuckProfile Жыл бұрын
Itna Ganda explanation nahi karna hota hai operations ko to explain kiya hi nahi theory to koi bhi samajh lega
@anujkondhalkar9776
@anujkondhalkar9776 3 жыл бұрын
Great videos sir very helpful. But here your corner face screen hide data behind it.
@vibhors
@vibhors 3 жыл бұрын
Thank you❤️👍
@codebasicsHindi
@codebasicsHindi 3 жыл бұрын
You’re welcome 😊
@xyz-pc3tl
@xyz-pc3tl 3 жыл бұрын
Thanks for your effort , sir Hats off...sir🙏🙏
@indiannationalist07
@indiannationalist07 2 жыл бұрын
Sir you took very complex oop example and why you didn't take simple example apart from OOP
@abdulrafay42240
@abdulrafay42240 Жыл бұрын
where is exercise link
@mdsohailhussain8420
@mdsohailhussain8420 2 жыл бұрын
Anyone please tell me how insert/ delete elements at the end of linked list is O(n) ????, it should be O(1) na??
@kunaldev2590
@kunaldev2590 2 жыл бұрын
U have to travers n times so its O(n)
@vent_down_
@vent_down_ 3 жыл бұрын
Sir i have persistent interview in upcoming 4-5 days. ... N i dont have any DSA knowledge yet ! But im good in Python So, all these 20 videos are enough for interview ? Please reply please
@codebasicsHindi
@codebasicsHindi 3 жыл бұрын
I have covered data structures but not the algorithms. I have a complete series on my english channel, watch that please for now. In the future I will upload algo videos in hindi series too.
@vent_down_
@vent_down_ 3 жыл бұрын
@@codebasicsHindi actually I already watched English channel complete playlist. Now i feel its enough. N thankyou Sir for such fabulous explanation n efforts. Happy Teachers day too!❣️
@sewp032
@sewp032 3 жыл бұрын
@@vent_down_ best of luck for your interview dude
@vent_down_
@vent_down_ 3 жыл бұрын
@@sewp032 lets see ..thanks btw
@chessfun934
@chessfun934 2 жыл бұрын
@@vent_down_ did u got the job?
@locu83
@locu83 2 жыл бұрын
Should I go through algorithms first or python tutorials? Pls help
@Atowmic
@Atowmic 2 жыл бұрын
python tutorials
@sachinrathod3305
@sachinrathod3305 2 жыл бұрын
Update the playlist sir please All the sorts in detail
@prabhuthuletiya3257
@prabhuthuletiya3257 Жыл бұрын
kitni bhi kosis krlo gujarati vala flow to nikal hi jata hai😄
@shaileshtalpada7809
@shaileshtalpada7809 2 жыл бұрын
Sir linked list is very deficult to understand, please give me easy solution ,i couldn't understand this program.
@loony4280
@loony4280 10 ай бұрын
it’s easy actually just think like a train and boxes which is connected with each other where connecting part is edge, boxes are node and the main engine carrying remaking boxes are root.
@loony4280
@loony4280 10 ай бұрын
and yes each node contains some data
@prateek_agrawal70
@prateek_agrawal70 2 жыл бұрын
sir aapne hindi me poora cover nahi kiya DSA , compare to english, please kar dijiye sir
@afzalhasan6494
@afzalhasan6494 2 жыл бұрын
Isko koi samjha denge kiya?? itr = self.head llstr = '' while itr: llstr += str(itr.data) + ' --> ' itr = itr.next print(llstr)
@turikandeyang3438
@turikandeyang3438 2 жыл бұрын
First it take an empty string. while there will be iteration it will convert the data into string and add it to llstr every time creating a single long string of values and when loop finishes it prints the llstr with all values concatenated.
@engineerbychance7449
@engineerbychance7449 2 жыл бұрын
Sir Aur videos daliyay
@rashedin6356
@rashedin6356 2 жыл бұрын
Bhai yrrrrrrrr atleast comments to likhte
@python0791
@python0791 2 жыл бұрын
kiya bol raho kush sanaj nahi ara he 👿😠😠😠😠
@prabhuthuletiya3257
@prabhuthuletiya3257 Жыл бұрын
sirf majak kar raha hu serious mat lena 😄
@codebasicsHindi
@codebasicsHindi Жыл бұрын
😆😆🤣no worries
@codeep111
@codeep111 3 жыл бұрын
Hlo
Introduction to Linked Lists (Data Structures & Algorithms #5)
18:47
Arrays - Data Structures & Algorithms Tutorials with Python in Hindi #3
18:30
2 Simple Ways To Code Linked Lists In Python
10:55
Anthony Sistilli
Рет қаралды 80 М.
Top 7 Data Structures for Interviews Explained SIMPLY
13:02
Codebagel
Рет қаралды 238 М.
Python Data Structures #2: Linked List
18:54
Brian Faure
Рет қаралды 447 М.
Data Structures Explained for Beginners - How I Wish I was Taught
17:06
Internet Made Coder
Рет қаралды 608 М.
Understanding and implementing a Linked List in C and Java
18:15
Jacob Sorber
Рет қаралды 249 М.
Linked List - Data Structures & Algorithms Tutorials in Python #4
28:16