Trust me she's gonna best instructor , teacher and mentor 🙏🔥💖
@Pratyush_Srivastava243 жыл бұрын
Her voice 💘
@Patternninjacrypto3 жыл бұрын
literally i was impressed by her first few videos and then searched her on youtube but sadly didn't found anything related to her. i wish she would also have channel so we can subscribe her and support her. 😊
@arpitchugh72973 жыл бұрын
The one who wrote the script might be crying in the corner 😂
@achabacha38093 жыл бұрын
She is best but don't leave Mysirg samjhe bachye😁😁😁😁
@mujtabahussain70153 жыл бұрын
one of the*
@RahulSharma-cy1oz3 жыл бұрын
Bubble sort - Time complexity is O(n^2) , and in best case it is O(n), if the array is already sorted. Thank you.
@amans6504 Жыл бұрын
If the array is already sorted, why would you sort? It would be just an iteration over the array so yeah order of n is obv
@l4dybu9 Жыл бұрын
Big O notation is for worst case. Hence O(n^2). For best case, it's big Omega notation Hence Ω(n).
really felt gratitude didi, thank you for providing such a video for free. It contains the whole 2hrs of class lecture content incorporated in just few minutes, AMAZING.
@ujjwalverma28702 жыл бұрын
In this video the counter should be intialise to 0 not 1 And in the for loop I
@jatingarg18973 жыл бұрын
Thank you so much. You made these concepts so easy for me that looked difficult previously for me. Now, I taught these to my fellow classmates even before they knew.
@sevenhours11372 жыл бұрын
best explanation on this topic, the visuals were extraordinarily effective
@sudarshanmhaisdhune10392 жыл бұрын
Wow!.....short, crisp and to-the-point..
@hrutiksherekar65163 жыл бұрын
Ma'am your voice is so listenable. Great explanation. Thank u so much
@fahadabdullah510 Жыл бұрын
You can also do this simply with the help of a for loop like this for (int i = 0; i < n - 1; i++) { for (int j = 0; j < n - i; j++) { if (arr[j + 1] < arr[j]) { temp = arr[j + 1]; arr[j + 1] = arr[j]; arr[j] = temp; } } }
@harshagarwal920 Жыл бұрын
you can also take initial value of i=1;for faster code
@aegg792 Жыл бұрын
the inner loop would be: for(int j = 0; j < n - i - 1; j++) you may cross-check to see 😊
@muktagavli11062 жыл бұрын
Oh my God I was so worried about Data structure Then i saw your Video It is very Useful Keep up the good work
@shivammaurya34513 жыл бұрын
Thank u aman bhaiya and mam best explanation ever watched 😍🖤❤❤❤
@ajaykiran63 жыл бұрын
Thanks a lot, ye bubble sort confuse kar diya tha teachers ne....ab jaake iska concept dhang se samajh aaya hai, final year mai hu abhi ......this series gives me hope that even I can learn these concepts properly.
@nayansinghal51572 жыл бұрын
Didi from this video i just watched the concept behind bubble sort and the code i printed on my own. The output was correct and I am very happy as I am a beginner and have printed the code very easily. Thx for your lectures.
@prajnagupta12873 жыл бұрын
This is awesome! Very concise and informative😍
@surbhikumari84433 жыл бұрын
Awesome mam after trying to visualise continue 8 hr then i come to video and in shot i got it all points thanku mam
@LifewRoshu2 жыл бұрын
Thank you so much AMAN BHAIYA and the whole team of APNA COLLEGE ❤️❤️✨✨
@asiyaprincess6913 Жыл бұрын
Nice explained and easy to understand ☺️ Thank you so much mam👍
@shivammaurya34513 жыл бұрын
Thank u aman bhaia mam i m loving your explanation ❤ 😍
@ahmadshoaibmuslim84702 жыл бұрын
The great teaching method, Thanks for serving us these videos, and I have a suggestion please make basic projects and shout them as lessons. thank you so much for this kind of teaching,
@sageinwoods88592 жыл бұрын
ek to awaaz itni pyaari hai upar se padhati bhi world class hain
@ritu53683 жыл бұрын
Amazing! Amazing! Amazing! 🔥🔥🔥🔥🔥💥💥💥
@parth87463 жыл бұрын
Awesome explaining in just 7 min.
@harshithp30073 жыл бұрын
I was able to code the bubble sort algorithm just by the explanation part of this video. Thank you very much !!
@veeresh44413 жыл бұрын
Mention complexity for each algorithm at the end of algorithm
@Pritamdaspk3 жыл бұрын
O(n²) sabka yahi hoga
@GoD_AbHI.7 ай бұрын
Best Explanation I ever had.😊
@puneetmaheshwari3 жыл бұрын
imma using this explanation for python class 12 thankyou di and bhaiya
@omkakade40362 жыл бұрын
Thank you clear all doubts
@hruthikakani92743 жыл бұрын
I'm of class 11th following your every video .......from Andhra pradesh
@harshmalviya48313 жыл бұрын
[CORRECTION] In the while statement of the program, (counter
@juffler4633 жыл бұрын
Yup you are right my brother but no matter if it takes one more iteration because array is already sorted. Yes it will take little more time. And this is not a good practice to make this mistake because you know this that it will take only "n-1" iteration to sort the array Hope you got your answer 👍👍👍😀😀😃
@joetonyaashish79853 жыл бұрын
no bro. there is no mistake as counter is starting from 1 and not from 0. Otherwise you would be correct. since it is starting from 1, loop repeats (n-1) times only.
@vipulbhardwaj86593 жыл бұрын
I need help plz! As we know there are (n-1) iterations So why we take (counter
@meme-qw6hl3 жыл бұрын
@@vipulbhardwaj8659 it is for u Instade of using *whileloop* and *counter* u can use this for(int j=0;j
@meme-qw6hl3 жыл бұрын
Instade of using *whileloop* and *counter* u can use this for(int j=0;j
@RahmanKhan-dw6sz3 жыл бұрын
thank you very much yrr it really helps ......and the music is also motivating....
@Rishabh_Dayal44443 жыл бұрын
sir really thanx a lot you all are doing nice job
@madhusingh46073 жыл бұрын
Bilkul Sare doubts clear ho gaye mere..
@upamadutta57413 жыл бұрын
beach mai ak din ka gaap ho gya tha,yesterday their was no new video, or meri to tention start hone laga tha, and that's why egarly waiting for todays video.
@AnkitGupta-pr4rg3 жыл бұрын
Mai commerce student hu phir v i feel the same 😑
@ashutoshgoyal34613 жыл бұрын
same here
@ashishsingh44372 жыл бұрын
thank you for this awesome course
@rita_martha Жыл бұрын
I recommend this video. I am very happy and grateful.
@vatsalkhatri5143 жыл бұрын
This can be minimised by putting a boolean for checking whether there are swaps or not. If there are no swaps then it proves that the array is already sorted no need to go ahead and hence breaking the loop.
@saipadmajakuncham11 күн бұрын
can you share that code
@abhishekkholiya69892 жыл бұрын
Bubble sort complexity - Time complexity - 1. Best case - O(n) ( if array is already sorted ) 2. Average case - O(n^2) 3. Worst case - O(n^2) Space complexity - O(the number of extra variables used) if 1 extra variable then O(1) , if 2 extra variable then O(2).
@developerakhter______0076 Жыл бұрын
BEST Bubble Sort VDO ever...❤
@mdfoysalahmed4612 Жыл бұрын
Thanks for this amazing tutorial
@daksheshrajal29753 жыл бұрын
Aman bhaiya is doing good for all of us and we should be thankful to him This channel deserves 1 million subscriber.
@adityaparmar18973 жыл бұрын
Thanks sir for this series , this help me more for my placement preparation
@negasonicteenagewarhead3 жыл бұрын
@@SahilSharma-vl9rk bro it's less than n
@prmomaths7573 жыл бұрын
@@negasonicteenagewarhead what do you mean?
@rajlaxmipaul213 жыл бұрын
@@negasonicteenagewarhead you have n o t said anything exactly "in a clear way". soou.. wht's da point of commenting “
@negasonicteenagewarhead3 жыл бұрын
@@rajlaxmipaul21 The person I replied to has deleted his comment
@rajlaxmipaul213 жыл бұрын
@@negasonicteenagewarhead oou i didn't understand dat
@iamgroot203 жыл бұрын
superb explanation👌👌
@rutvikrana5123 жыл бұрын
We don’t need to run n times this algorithm If we don’t find any swapping. It’s like break when no bubbles happens. As per video... Current Time complexity : O(N*N) But it can give O(N) in best case eg. already sorted array. Just check by boolean that if no bubble produce ( no swapping occurs ) break loop. 👌
@snehilsinha46893 жыл бұрын
I agree with you that it will give O(n) time complexity in best case. But that's not our concern. We have to find some algorithm so that the worst case time complexity gets minimized ,which according to me, can't be lesser than O(n^2) in the bubble sort method. If there's a way to decrease the worst case complexity here please share. 🙏
@novaprime87353 жыл бұрын
Great.....
@svworld013 жыл бұрын
You are right bro, this is updated bubble sort that you are talking about. 👍👍
@anakingaming36873 жыл бұрын
Aap sab log kaafi padhe likhe lag rahe ho, aap logo ki job lag gayi h kya yeh videos dekhne k baad ?
@svworld013 жыл бұрын
@@anakingaming3687 pahle hi lag chuki hai job bhai.. Pr aise q bol rhe ho?
@lalitshah78673 жыл бұрын
Didi bahut achha hai thanks
@DevendraChoudhary8883 жыл бұрын
Nice work by didi and aman bhaiya
@ekansh6267 Жыл бұрын
Awesome explanation 👌👍
@friendgaming46513 жыл бұрын
Wow🤟🔥🔥🔥.. Excellent
@vedantparatkar72663 жыл бұрын
YOU ARE doing very good job ,best teacher!!
@DrManju_13 жыл бұрын
Name was corrected, but *also correct the description box from 9.3.1 to 8.3.1 !* This is Aman Bhaiya, 😉 No Chance of Mistakes. Even when once there was a error in animation in Maths, he corrected it in the comments !!!
@yogeshvats19993 жыл бұрын
Very easy to understand it now rather than boring lecture in class
@prashantdhami48633 жыл бұрын
dislikers are Chintu's ghar vaale who paid 100k plus rs to white hate 😂
@coderx18717 ай бұрын
Very well explained Shradha didi
@jaimodkumar52822 жыл бұрын
It's very fast and effective method to solve bubble sort as how to works and implement in program
@rajivkumawat79402 жыл бұрын
nice explaination mam.....
@__lyricsSmooth4 ай бұрын
Best way for learning apna college by shraddha didi❤
@MrKB_SSJ2 Жыл бұрын
This was really helpful. Thanks
@ShivamGupta-cx3hy3 жыл бұрын
Thank you so much ❤️😊
@anabildebnath259020 күн бұрын
Simple and precise
@gopalmasulkar89152 жыл бұрын
Dear sister your awesome I like your teaching 🥰
@ShubhamSaraf303 жыл бұрын
Counter < n hoga in while condition. I think. Ma'am ke code mei bhi -1 type nahi hua (maybe due to some error)
@ultimatecreed51443 жыл бұрын
yes n-1 nahi n yoga
@namanjain04123 жыл бұрын
Awesome course🤞🤞🤞🤞
@fahadmughal9795 Жыл бұрын
in while loop counter is not less than n-1 its while( counter < n )
@ByteBit4k4 ай бұрын
either it is
@AkashVerma-sh5pb2 жыл бұрын
instead of the while loop we can also do this : for(i=count-2;i>=0;i--){ for(j=0;jnumber[j+1]){ temp=number[j]; number[j]=number[j+1]; number[j+1]=temp;
@user-yx3xu6ih8j10 ай бұрын
very informative good video💓
@singhrocco3 жыл бұрын
5:25 didi ham ek swap() function ka bhi to use kar sakte hai bas swap(arr[i], arr[i+1]); ek line me ho jata 3 lines ke jagah
@ashwinpillai92913 жыл бұрын
nah ...then u would have to create the whole funtion for swap() seperately >....thus same amount of work...Use funtion only when u need to repeatedly use it
@harshkantbhatnagar3603 жыл бұрын
@@ashwinpillai9291 no in the bits/stdc++.h header file it's already present we can use that in place of iostream
@namitgarg33643 жыл бұрын
@@harshkantbhatnagar360 We can also use this function using iostream header file see this code #include using namespace std; int main(){ int a,b; cin>>a>>b; cout
@harshkantbhatnagar3603 жыл бұрын
@@namitgarg3364 okay bro
@namitgarg33643 жыл бұрын
@@harshkantbhatnagar360 No problem bro
@harshvardhan62133 жыл бұрын
Consistency = Aman Bhaiya And we all of us also be in a consistent manner always💥🙋🏻♂️
@vrushaliagate52502 жыл бұрын
Amazing🔥🔥🔥🔥🔥❤️❤️
@omraja4042 ай бұрын
Thankyou ma'am
@alangeorge10903 жыл бұрын
Really well explained
@sonudeep64723 жыл бұрын
Great tutorial👨🏫📓
@huzaifasaqib81387 ай бұрын
Thanks!
@hardikverma82492 жыл бұрын
Thanks a lot I got it 🥳
@jaimodkumar52822 жыл бұрын
Thanks so much
@himanshuprem6003 жыл бұрын
thank you.......
@MRMAC-hh9op2 жыл бұрын
Thanks didi and bhaiya
@AkibHussain3 жыл бұрын
Op🔥📌
@user-ng7eg9nq7f2 жыл бұрын
before apna college ,i was dumb in coding,concept of coding went to upper side from my head,One day i meet to my brother,He suggested me to see coding on apna college,,and then after this,, now I can say that i can do something in coding.Love U all apna college team,,One day I shall meet to apna college team sure,specially Shradhha di.
@Saini24484 ай бұрын
Thank you mam 🤗
@angrybird7073 жыл бұрын
i loveeee ur HAIN NA!!! :)
@AkibHussain3 жыл бұрын
Thank you
@vaishnavighate80683 жыл бұрын
It took my clg sooo many hours to explain this and still kuch samjh nhi aaya.. But thanku didi and aman bhaiya for such amazing content.. Thankyou❤❤
@sanketsingh55552 жыл бұрын
Thnx buddy ❤️
@NitinSihag3 жыл бұрын
Keep it up bhaiya💟💟
@krishsharma62763 жыл бұрын
Thanks ☺️
@NishantSingh-br6iu3 жыл бұрын
East or West Urvi Di is the best
@user-zw1xp7it3o3 жыл бұрын
how did you get to know her name ?
@harshraj-yz3pf2 жыл бұрын
Wo jab Apne code ko run Karti hai ...toh waha pe unka Naam show hota hai
@meharsingh30912 жыл бұрын
Her name is shardha
@VikramKumar-qw5cz3 жыл бұрын
Nice lecture..
@Exploring_With_Sourav3 жыл бұрын
thanks for making
@MohitSingh07983 жыл бұрын
Best video
@sniffers4778 Жыл бұрын
I love the 15 chocolate example
@prabhdeepsingh52223 жыл бұрын
love u guys
@shaleenbadola45143 жыл бұрын
well its (counter
@gauravjain14443 жыл бұрын
It is not just because we will have to do one less iteration , in the code we are comparing the (i th) and (i+1 th) terms. So we keep the counter < n-1 so that when we are checking for the (i+1 th) term we do not get *INDEX OUT OF BOUND ERROR*
@shaleenbadola45143 жыл бұрын
@@gauravjain1444 ya i know that but it should be counter
@gauravjain14443 жыл бұрын
@@shaleenbadola4514 counter
@shaleenbadola45143 жыл бұрын
@@gauravjain1444 i agree with counter not should be initialized with 0 but in video di said counter
@gauravjain14443 жыл бұрын
@@shaleenbadola4514 see the video once again they edited the -1 part out 😅 .she says n-1 but in the code she writes n
@saumyasinghchauhan2753 жыл бұрын
Thank uh
@shettycodes2 жыл бұрын
Thank you for explaning bubble sort in concise way easily🙂
@krishangupta70553 жыл бұрын
well i prefer this code. //Sorting is done here for(int i=0; i
@ADEEBARASHIDBAI2 жыл бұрын
thank you so much
@HeaDHunteR-xu7we3 жыл бұрын
Bhaiya , please make a video on IP university order of choice filling 🙏🙏
@abhaytiwari64113 жыл бұрын
WellDone Guru
@javeriasaleem3154 Жыл бұрын
great
@mamonipodder5613 Жыл бұрын
I'm very dumb in computer science but the way she explained really helped me