Traceback (most recent call last): File "M:/Python/QuickSortTest.py", line 25, in Quicksort(list1,0,n-1) File "M:/Python/QuickSortTest.py", line 20, in Quicksort Quicksort(list1,first,p-1) TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' > error is coming.
Madam after swap the pivot position to right position .so right position is pivot.. right...after div the list again do same process but in the program no repeated the process..
same program i written in visual studio code but complier gives some mistakes but i follow proper indiation why it shows it shows like that so ple give me reply
hi madam, how can we know when to use function and when not to use function???because in previous sel sork and quick sort we didnt use function and here u are using function so plz expalin that
But y list1 [ first ] and not list 1[pivot] where as you were able to take list 1[ right] but not pivot y. Also in the recursive case why can't we use if condition i.e if list1> 1. As the base condition
Mam, i am a cse student. i had python mini project in this semester! I don't have any idea abt that can u suggest me a best topic that seems to be the best one in our class ,mam?
Usually I don't spare time for comments. But I can't really go back without appreciating you for this explanation and easy code. Thank you!!
Mam ur way of speech is very good,with clear voice nd explaination
Appreciation from my side. When I have any doubt, I come to see your videos to clear those..
Mam, you are a superwoman, you teaches so nicely, thanks for the hard work you are doing for us.
wasted whole day t learn but at the end I learned here
Thank you :)
Is your code running without any error ????
The best DSA lectures on youtube, thank you, @AmulsAcademy !
Great quick sort.you can do ascending or descending order.great video
Thank you :)
I always got confused how quick sort work but after seen ur vedio i did understand in better way, thank u so much mam for ur deeply explanation ❤
Most welcome 😊
Great explanation fantastic...😇😇😘😘
Thank you 😊
Mam, very very very very thank u.
Amazing Explanation Thank u.
Most welcome 😊
Traceback (most recent call last):
File "M:/Python/QuickSortTest.py", line 25, in
Quicksort(list1,0,n-1)
File "M:/Python/QuickSortTest.py", line 20, in Quicksort
Quicksort(list1,first,p-1)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
> error is coming.
def pivot_place(list1,first,last):
pivot=list1[first]
left=first+1
right=last
while True:
while left
@@AmulsAcademy even I am getting Sam error mam
@@AmulsAcademy error geetting in this code please gave another example for this.
hi bro ,if you have clear this error then please tell me how
@@AmulsAcademytell me mam
Mam how can I sort integers in a queue in descending order without using built functions
I can't find a teacher like you
it is a great tutorial.thank you so much for this
Hello,Mam when u will statt data structures in python??,we are waiting for that
Madam after swap the pivot position to right position .so right position is pivot.. right...after div the list again do same process but in the program no repeated the process..
same program i written in visual studio code but complier gives some mistakes but i follow proper indiation why it shows it shows like that so ple give me reply
Explain clearly ,thanks
how sublists are sorted recursively i dont understand that when you writye quick sort function can you please explain me
Take one example and trace the program 😊
hi madam, how can we know when to use function and when not to use function???because in previous sel sork and quick sort we didnt use function and here u are using function so plz expalin that
If the part of code need to be executed again and again you need to use functions :)
In other cases if you want you can use functions :)
Thank You>>>>>>>>>>>>>>>>>>>>>>
My Pleasure :)
But y list1 [ first ] and not list 1[pivot] where as you were able to take list 1[ right] but not pivot y.
Also in the recursive case why can't we use if condition i.e if list1> 1. As the base condition
it is raising index out of range when we give input [5,4,3,2,1]..once check
Give me the program I will check :)
@@AmulsAcademy please check with ex 5,4,3,2,1 I'm getting index out of range
cant we use for loop for execution
Yes :)
Can you help me mam, why this swapping method is not working ?
Give me the program i will check :)
why did you use while true what is the meaning
Same doubt
Thankyou You are amazing.
Glad to hear that :)
@@AmulsAcademy hey I need help can you please suggest me topics that I must learn to get a job pleeeease.
Be clear with at least one language and also few programs like prime numbers pattern programs...
amazing tutorial. Do you think you could do a tutorial on quick select?
Thank you :)
I will try :)
Thanks, I saw lots of video but only here I understand. Once again thanks
Ma'am , What's the time complexity of pivot_place function?
O(logN)
Mam, how to replace Input with Replace Module
list1 = []
list1 = [eval(input(":")) for i in range(5)]
print(list1)
list1[2] = "hello"
print(list1)
:)
@@AmulsAcademy
Print("Thanks ")
Getting error as unsupported operand type for -: ' NoneType' and 'int'
I'm also getting this same error...if you know the solution please let me know
Same here
Thanks Mam, I really like your teaching style! : )
Thank you :)
please make a video on "LINKED LIST "
Sure :)
Easy explanation but it's showing a error TypeError unsupported operand type(s) for 'NoneType' and 'int'
Please make video on krushkal Minimum spanning tree
Mam, i am a cse student. i had python mini project in this semester! I don't have any idea abt that can u suggest me a best topic that seems to be the best one in our class ,mam?
iam noticed that you said 14:21 right
She is checking index value not the list value that is 5
Thank you very much mam
Welcome:)
mam how to accept the list from user
You can use list comprehension method.
:)
What is p = pivot_place(list1,first,last) ?
pivot_place function is returning the right index which is stored in p
Madam It is very useful if u post hackerrank solutions
I will try :)
thank you mam☺
Please do linked List in python
Thnak U madam
My Pleasure :)
U r the bEst❤️
Thank you :)
Mdm how to exicute program repeat
It is totally complicating when compared to other similer vedios.
How python knows that the first = the 0th INDEX of the list and the last= last index of the list? we've given it as arguments.
thanks SIR
Pleasure :)
Please do program on tower of Hanoi mam
Sure:)
def pivot_place(list1,first,last):
pivot=list1[first]
left=first+1
right=last
while True:
while left
while True:
while left