hi Sis,these are really worth videos thanks a lot for sharing the content . Guys who are reading the comment and really want to learn Data Strucures in Python,here is the Amulya Sis who always explained in a laymen terminology so that everyone understands. And one small request guys, since this sister is doing this much for us,pls donot skip the adds,just watch fully ,pls donot skip, so that our sister will get the income. This is the least way we can help her. Thanks SIS
Kindly answer this question We have an array of 5 elements: [4, 8, 1, 7, 3] and we have to insert all the elements in the max-priority queue. First as the priority queue is empty, so 4 will be inserted initially. Now when 8 will be inserted it will move to front as 8 is greater than 4. While inserting 1, as it is the current minimum element in the priority queue, it will remain in the back of priority queue. Now 7 will be inserted between 8 and 4 as 7 is smaller than 8. Now 3 will be inserted before 1 as it is the 2nd minimum element in the priority queue.
You can create your own class, suppose "myQueue" and inherit "list" class in it (to use all methods an attributes that "list" class provides") In the "append" def function. Take the argument for "what to add" and after it mention the function to automatically sort the queue (self.queue = self.queue.sort(), where self.queue stores the list/queue you are using)
Ma'am if any more topics is left to make for DSA in python, please make it and complete the series. I am following this series for my python dsa. Ma'am sorting, bubbling are not in this series please look into it.
7:04 So Priority class will give high priority to small value, then what about bigger values. We can use list but as you said its slower and not the first choice. Is there any other option beside list and deque function for bigger values. BTW the Playlist is amazing so far, Thanks.
Hey everyone ik its pretty late but i just wanna tell u all to take it easy, relax, pray to GOD and have and trust in GOD as well as believe in his one and only son Jesus and to repent of your sins. hope u have an amazing day
One of the most underrated yt coding channel
Thank you 😊❤️
She's just great at explaining this stuff. Thank you :)
Nice and simple explanation, thank you 🙂
I am Looking to implement Dijkstras Algo using PQ.. thanks for this.
😊😊
hi Sis,these are really worth videos thanks a lot for sharing the content .
Guys who are reading the comment and really want to learn Data Strucures in Python,here is the Amulya Sis who always explained in a laymen terminology so that everyone understands.
And one small request guys, since this sister is doing this much for us,pls donot skip the adds,just watch fully ,pls donot skip, so that our sister will get the income. This is the least way we can help her.
Thanks SIS
Thank you so much :)
Amulya's voice and voicing out her words are cute...its like a kid
Thank you 😊
Thanks your voice is so nice 👍🏻 gifted by god with sharp mind
Thanks a lot :)
Kindly answer this question
We have an array of 5 elements: [4, 8, 1, 7, 3] and we have to insert all the elements in the max-priority queue. First as the priority queue is empty, so 4 will be inserted initially.
Now when 8 will be inserted it will move to front as 8 is greater than 4. While inserting 1, as it is the current minimum element in the priority queue, it will remain in the back of priority queue. Now 7 will be inserted between 8 and 4 as 7 is smaller than 8.
Now 3 will be inserted before 1 as it is the 2nd minimum element in the priority queue.
You can create your own class, suppose "myQueue" and inherit "list" class in it (to use all methods an attributes that "list" class provides")
In the "append" def function. Take the argument for "what to add" and after it mention the function to automatically sort the queue (self.queue = self.queue.sort(), where self.queue stores the list/queue you are using)
DUTHFS0E3R4 8 ustaad 1:51 @@lakshyamongacompanyrfffggghtyyyhhhhhhyhgvghhtt67iomm. Moon moon ,takuvdi moon jisez
Ma'am if any more topics is left to make for DSA in python, please make it and complete the series. I am following this series for my python dsa. Ma'am sorting, bubbling are not in this series please look into it.
Your video’s are so easy to understand. Could please make one for heap sort with explaining code.
I will try :)
7:04 So Priority class will give high priority to small value, then what about bigger values. We can use list but as you said its slower and not the first choice. Is there any other option beside list and deque function for bigger values.
BTW the Playlist is amazing so far, Thanks.
Thank you so much :)
You can use binary heap :)
Can I get the source code for last one q.append((2,"a")) and for the pop() function. and what if the priority is same for both?
Why there is no option to have notification bell for this playlist? Btw Thanks a lot for this series
Hit the bell icon after subscribing the channel to get notifications.
Pleasure :)
that was quite helpful, thank you
Pleasure :)
What if we have a priority queue with strings, is there a way we can set the priority without alphabetic order?
Is priority queue module and heap queue model is same
You explained about the lowest num first priority for highest number
When are linked list and hash maps etc are coming? Eagerly waiting for them please upload them soon
Soon :)
this is very helpful :")
Thank you 😊
Nice explanation
Thank you :)
Mam what bout circular queue?
Do you have video on pandas and numpy ?
NumPy : yes we have few videos on that
Pandas: NO
thank you mam.
Madam, can you please let me know by which application you recording the screen.
Please do videos on Graph,tree doubly linked😪😪🙏🙏
Soon :)
how to get lenth of a prioroity queue
Nice your cors
Hey everyone ik its pretty late but i just wanna tell u all to take it easy, relax, pray to GOD and have and trust in GOD as well as believe in his one and only son Jesus and to repent of your sins. hope u have an amazing day
thanks
ma'am pls make the video on linked list
Sure :)
Mam can u give this data str pdf??
👍
Why you changed name??
Madam, pls post how to run pandas
Tip for subs :- Never use pop with index it results O(n^2).Try to avoid using it
Never use insert gives same result as like pop with index 😉 O(n^2)
So then which other way ?
@@riyakhandelwal7850 if you have more work on deleting and inserting then go for linkedlist it makes your job for O(1)
How to write a python program for
A
B C
C D E
D E F G
E F G H I
n = int(input("rows:"))
k = ord("A")
for i in range(n):
k = ord("A")+i
for j in range(i+1):
print(chr(k),end=" ")
k=k+1
print()
:)
How to write a program for
A
B A
C B A
D C B A
E D C B A
You can use ascii value of alphabets for that :)
Okay mam
see you not for mind