40 - BUBBLE SORT WITH EXAMPLE

  Рет қаралды 354,402

Sundeep Saradhi Kanthety

Sundeep Saradhi Kanthety

Күн бұрын

Compare first element with second element if first element is greater than second element those elements will be interchanged. We have to repeat the procedure until reaches the last element.
If there are n elements all the elements will be arranged in sorted order in n-1 passes.
--------------------------------------------------------------------------------------------------------------
DATA STRUCTURES
• INTRODUCTION TO DATA S...
JAVA PROGRAMMING
• CORE JAVA TUTORIAL FOR...
COMPILER DESIGN
• INTRODUCTION TO COMPIL...
AUTOMATA THEORY || THEORY OF COMPUTATION
• INTRODUCTION TO AUTOMA...
R PROGRAMMING
studio.youtube...
HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS
• HTML TUTORIALS WITH IM...
LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS
• LEARN CSS IN 3 HOURS |...
JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT
• JAVA SCRIPT FOR BEGINN...
XML (eXtensible Markup Language)
• XML (eXtensible Markup...
OPERATING SYSTEM
• OPERATING SYSTEM
ETHICAL HACKING
• Video
VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX
• VI EDITOR BASICS IN LI...
HOW TO DOWNLOAD & INSTALL MySQL IN WINDOWS 10
• HOW TO DOWNLOAD & INST...
DATABASE MANAGEMENT SYSTEM
• DATABASE MANAGEMENT SY...
PYTHON PROGRAMS
• PYTHON PROGRAMS
C PROGRAMMING
• 01 - VARIABLES & CONST...
CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS
• CORE JAVA TUTORIAL FOR...
PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)
• Python in One Shot(తెల...
PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)
• PYTHON - OOPS CONCEPTS...
PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU
• PYTHON NUMPY TUTORIAL ...
PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE
• PYTHON PANDAS TUTORIAL...
MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)
• MATPLOTLIB LIBRARY - P...
PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL
• PYTHON DATABASE CONNEC...
DATA STRUCTURES USING PYTHON (ENGLISH)
• DATA STRUCTURES USING ...
----------------------------------------------------------------------------------------------
Instagram : / sundeepsaradhikanthety

Пікірлер: 392
@raiyanreza9764
@raiyanreza9764 6 жыл бұрын
Really appreciate the way you run through the code! It makes more sense that way! Thank you for your effort! Wish you were my programming teacher :P
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi reza thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@keithb9839
@keithb9839 4 жыл бұрын
thank you for your help in explaining how to sort an array, I was having a hard time understanding it before you showed how! from USA
@satyayedida7375
@satyayedida7375 5 жыл бұрын
Now,I am studying lst year 1st sem.In process of searching nptel videos regarding C, unfortunately I clicked your video.But after listening to your video for 10 seconds,I felt there is no need to go through nptel.Iam amazed by your explanation.It helps a lot to us,sir.Thank you so much.I want to follow your videos till completion of my graduation.please continue sir.
@aakanksha2605
@aakanksha2605 4 жыл бұрын
Same here😊
@rathan7942
@rathan7942 Жыл бұрын
you should use the word "fortunately" . unfortunately is used for negative incidents
@perisetlasatwik8139
@perisetlasatwik8139 3 жыл бұрын
sir I think in first for loop it should be i
@muhammadahsan-qn4xf
@muhammadahsan-qn4xf 5 жыл бұрын
wao sir what a class masha Allah your teaching style and delivery style of example is too good and fantastic i really grateful to you from PAKISTAN............
@nectarine9471
@nectarine9471 4 жыл бұрын
I am from Myanmar , I'm searching bubble sort array examples video for 3 days without no understanding , But after watching ur video , this makes me so satisfied and I am more understanding the functions of codes , the performance of loop. I like explaining the way of using pen & whiteboard than writing the codes on computers. YES I am your student from now. I LOVE U TEACHER.
@zlilb3724
@zlilb3724 6 жыл бұрын
such an amazing explanation from begging to end , help me a lot , thank you so much !!!!
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi thanks for watching my sessions and interest and support towards our channel.
@gadhamshettyyamini8314
@gadhamshettyyamini8314 5 жыл бұрын
Superb lecture ......... We are satisfied by your teaching we want some more videos regarding data structure
@rusudacian95
@rusudacian95 5 жыл бұрын
Sir, wanted to thank you for the efforts, really appreciate the manner of teaching, especially the comprehensive part when you illustrate the computer steps of running the program, I don't know why a lot of tutorials miss this part. Thank you once again!
@helmetofsalvationjudah
@helmetofsalvationjudah 2 жыл бұрын
You are the only teacher that can make me understand this concept
@mahendergoruva9300
@mahendergoruva9300 5 жыл бұрын
Actually u deserve more subscribers sir...keep increasing
@sayedhasan8234
@sayedhasan8234 4 жыл бұрын
I can understand your logic very easily. You are a good teacher in Programming language.
@shariquekalam7681
@shariquekalam7681 5 жыл бұрын
sir from where can i learn the complexity of the codes,how to find the complexity of whole code.
@ravincristiano
@ravincristiano 5 жыл бұрын
i have never seen before this kind of explanation.............thank u so much sir.
@karthikbandari8528
@karthikbandari8528 3 жыл бұрын
It's really fabulous. Your teaching skills is mind blowing.
@mohammedabduljaleel4579
@mohammedabduljaleel4579 5 жыл бұрын
you made bubble sort easy for us. good explanation. thanks.
@meenatchirajendran7506
@meenatchirajendran7506 3 жыл бұрын
Super sir. I have seen a 10 videos relating sorting but I can't seen explanation like u.Very helpful and thank you sir
@MKSundaram
@MKSundaram 3 жыл бұрын
Sir, your tracing part is one of the best I've seen so far. Thanks for your dedication towards teaching. May God Bless You.
@vinodluhar4505
@vinodluhar4505 Жыл бұрын
Just Gems ❤ Better than paid courses. Thanks for posting. Please post more on the DSA full series
@debduttamondal7542
@debduttamondal7542 5 жыл бұрын
sir your teaching technique so good it makes us too easy to understood it
@parthmakkar3116
@parthmakkar3116 6 жыл бұрын
i was just searching for my mistake ....and i just see your video and cut in between at uncertain time and i got my answer...... thanks sir for your effort🙂
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi parth thanks for watching my sessions.keep following our channel.
@mohangandhisumo
@mohangandhisumo 4 жыл бұрын
One doubt? When working in c++ befor we declaring input as &n in scanf we have to declare an integer of n as int n and other variables?
@omkarsulebhavikar1338
@omkarsulebhavikar1338 3 жыл бұрын
Can we keep j
@parthkotadia5996
@parthkotadia5996 6 жыл бұрын
Taking so much efforts to teach students for free Thank you sir
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi parth kotadia always welcome and thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.
@vinaysai5829
@vinaysai5829 Жыл бұрын
There is a mistake in for loop in Pass loop there should be n-1 In swap loop there there should be n-1-i
@katignaneshwar8647
@katignaneshwar8647 3 жыл бұрын
Amazing sir pleased
@sudeeptech1393
@sudeeptech1393 6 жыл бұрын
I have never seen this kind of explanation.thank u sir
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi sudeep thanks for your support our channel and keep following.
@BasantGurukull
@BasantGurukull 5 жыл бұрын
At 7:25 I think sir number of iteration will be n-1, but why have you taken n-i iteration. Then here the value of i varies from 1 to 3. Then how is it possible to get the no of iteration. If i am wrong then sorry and then please help me to know my mistake.
@m.kamaljitsingha1345
@m.kamaljitsingha1345 4 жыл бұрын
Thank you so much sir. You are a great teacher. I have subscribed your channel for more lessons. Please keep uploading such kind of videos on further complex computing. We will really appreciate.
@Archana__Dash
@Archana__Dash 3 жыл бұрын
Sir,your videos are too good..Thank you so much...pls upload the lectures on 2D array operations(insertion,deletion,search,update)
@koyyadapravalika9087
@koyyadapravalika9087 2 жыл бұрын
Sir please do one video on sum of series like 1-x^2/2!+x^4/4!...
@ranitsinha6424
@ranitsinha6424 6 жыл бұрын
Thank you so very much for sharing this video and demonstrating in such an easy manner ..Many thanks.. :)
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi ranit thanks for your interest towards our channel and supporting me
@ranitsinha6424
@ranitsinha6424 6 жыл бұрын
My pleasure.Sir can you please make videos on Insertion sort,Selection sort and related..It will help a lot Sir. :)
@asishmohanty6799
@asishmohanty6799 4 жыл бұрын
Is this for C or data structure?
@anbuthiruvarangank4745
@anbuthiruvarangank4745 3 жыл бұрын
clear explanation brother....very helpful to understand the subject...
@shekhadaradhika4265
@shekhadaradhika4265 6 жыл бұрын
Really very Thank you sir......I'll follow you from now..! Really appriciated ur teaching..method.
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi radhika Thanks for your interest towards our channel and share my sessions with your friends and keep following our channel and don't forget to subscribe to our channel.
@vishnupriyaasthini3444
@vishnupriyaasthini3444 3 жыл бұрын
Will u pls tell me this video is data structures on Java or c programming
@gayathrirenganathan9244
@gayathrirenganathan9244 3 жыл бұрын
Sir you are doing a great job I can understand your explanation very easily Thank you sir👍👍
@balakk9608
@balakk9608 5 жыл бұрын
Very very thanking you sir our teaching method is very beauty
@ce13_piyushprajapati40
@ce13_piyushprajapati40 3 жыл бұрын
Sir I have try your code but some little bit error in this bcz after the sorting this is always print first zero after that I am try to in inner j loop condition has been changed for(j=0;j
@harshithm2k
@harshithm2k 6 жыл бұрын
Thank you very much sir.. I'll follow ur channel from now!
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi harshith thanks for watching my sessions. Thanks for your interest and support towards our channel. Keep following our channel.
@rangamuni128
@rangamuni128 4 жыл бұрын
Without declaration of i ,j ,n ....will it execute??????
@sheikhsayeed
@sheikhsayeed 6 жыл бұрын
thank you so much sir..you are best teacher in computer science
@zaidsiddiqui13
@zaidsiddiqui13 6 жыл бұрын
you helped me sir by this video lecture.....thankyou so much
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@vandanarathor3443
@vandanarathor3443 3 жыл бұрын
You explained it in very simple way ..thanku sir
@mohammedjafferali693
@mohammedjafferali693 5 жыл бұрын
Sir, my father says we both are idiots. Btw you r way better than my college teacher.
@flysolo7089
@flysolo7089 6 жыл бұрын
sir, why did you take the last "For loop" ?? the result can also be displayed by the printf statement!!
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi ravi you are correct and we can write the printf statement inside the loop. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@keyurgedia9279
@keyurgedia9279 5 жыл бұрын
exellent, so helpfull , thank u sir ....
@shubhammourya9692
@shubhammourya9692 5 жыл бұрын
All no. Are greater then what?
@kirankumarchandrasekaran518
@kirankumarchandrasekaran518 5 жыл бұрын
this guy teach so awesome.thanks sundeep
@natansh_kapil_
@natansh_kapil_ 4 жыл бұрын
such an amazing explanation.. GOD! bless You..
@puttapallisatishyadav222
@puttapallisatishyadav222 3 жыл бұрын
Sir ..,a little bit confusion that I think at last it we must print 'j'values..pls clarify...btn exllent teaching.🔥
@mohanlanka883
@mohanlanka883 4 жыл бұрын
Sir in which coaching center you are working i want to join sir please.... Tell me sir
@radhikamsrit2174
@radhikamsrit2174 5 жыл бұрын
Interesting class
@vaishnavi3223
@vaishnavi3223 4 жыл бұрын
Thank u sir.but I have a confusion how u wirrten scan f before print f.
@pawanagarwal8756
@pawanagarwal8756 4 жыл бұрын
As you told earlier We have to declare a size of array after derclearing its datatype then why you have written. Int a [10]? We should have write int a[4].instead ?
@angelcbaby2000
@angelcbaby2000 4 жыл бұрын
I think there is no problem with that..after filling 4 elements in the array,the compiler itself fills the array with zeroes in the remaining positions,if you don't need those positions even though u r declared it..
@everythingChannel2.0
@everythingChannel2.0 4 жыл бұрын
what an amazing explanation. Thank you very much.
@aaditshrestha5603
@aaditshrestha5603 5 жыл бұрын
Thanks a lot. It's really helpful.
@cherry-talks
@cherry-talks 2 жыл бұрын
Sir if the number set is like this 20 10 30 The number of iteration is only one... But total numbers are 3 Can you pls clarify it
@ritwiksinha7432
@ritwiksinha7432 5 жыл бұрын
thank you so much sir, its really simple to understand your way of teaching in your each and every video as your ability to describe the topics or concepts are so strong that no other teacher than you will ever be able to teach in the similar fashion as you teach because your classes are so enjoyable to attend that no one will ever bother to leave the video or yes your class as well because your way of teaching is too good as well as your ability to put the concepts in the mind of students is great because you are so awesome that you can teach anything because you are so talented guy that you can teach anything and we as a student is eagerly waiting for your videos because its really simple to understand your way of teaching in your each and every video as your ability to describe the topics or concepts are so strong that no other teacher than you will ever be able to teach in the similar fashion as you teach because your classes are so enjoyable to attend that no one will ever bother to leave the video or yes your class as well because your way of teaching is too good as well as your ability to put the concepts in the mind of students is great. tysm sir
@TanishaMohanty1610
@TanishaMohanty1610 4 жыл бұрын
How much time did you take to complete writing your comment???
@ramanr9935
@ramanr9935 6 жыл бұрын
Your teaching is superb i expecting more videos like this
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi raman thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@ramanr9935
@ramanr9935 6 жыл бұрын
Sundeep Saradhi Kanthety Sure ☺️
@manishankar2468
@manishankar2468 2 жыл бұрын
temp and n is not declared in int sir is there any problem
@rachanahr9936
@rachanahr9936 3 жыл бұрын
Sir my doubt is clear thank you
@sanbaysrina6822
@sanbaysrina6822 5 жыл бұрын
sir there is no declaration for i,j,n,temp.so while compiling errors are getting.i, executed this program in jdoodle website the error is(*** stack smashing detected ***: terminated Command terminated by signal 6) sir.so what is that mean can u plz convey me.and way of ur explanation is super sir
@jyotivishwakarma2969
@jyotivishwakarma2969 5 жыл бұрын
Sir why n-i in inner loop ?
@athirarkrishna2173
@athirarkrishna2173 6 жыл бұрын
your teaching is really good.thanku sir..
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi krishna thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@kanumanarmada9244
@kanumanarmada9244 6 жыл бұрын
Hai Sir Good Morning , Can you please upload the linked list explanation videos.
@danieldens7390
@danieldens7390 6 жыл бұрын
Thanks man you really helped me! Thanks again!
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi and thanks for your support towards our channel. keep on following my sessions
@babandimuhdnasir7057
@babandimuhdnasir7057 Жыл бұрын
Superb !
@shubhamdudhe673
@shubhamdudhe673 4 жыл бұрын
Tanx sir after watching ur vedio i was get it easiky
@umathapa5346
@umathapa5346 6 жыл бұрын
thank you sir for ur lovely teachim g
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi uma thanks for watching my sessions and interest towards our channel.
@killer-ul9mi
@killer-ul9mi 3 жыл бұрын
Tq sir...tq so much...this simple method...❤️
@ayushanand4820
@ayushanand4820 4 жыл бұрын
Sir if we change the sign and use it for sorting in descending order it doesnt work. Why?
@aadhityasagarmohanram5670
@aadhityasagarmohanram5670 6 жыл бұрын
In exam do we have to show the entire procedure or jst coding is enough that u did in first part
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi mohanram that depends on the marks given to the question. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@sivasairakeshgontla2409
@sivasairakeshgontla2409 6 жыл бұрын
Sir please upload videos on selection, insertion,heap,merge sortings
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi Siva thanks for your interest towards our channel. Soon i will upload them.
@vinaypal5890
@vinaypal5890 5 жыл бұрын
Sir superb explanation and it is so much interested.
@Paulconcordgmail
@Paulconcordgmail 3 жыл бұрын
One of the most well explained chapters. Thank you
@sravaniramavath1631
@sravaniramavath1631 5 жыл бұрын
Nice u r doing trace that was really helpful.....
@JustVideoClub
@JustVideoClub 5 жыл бұрын
Why we are talking the number of iterations are n-1 ar n-i
@sayanpal7237
@sayanpal7237 5 жыл бұрын
Your teaching is awesome
@adarsh1736
@adarsh1736 4 жыл бұрын
Sir where j and tem is what?????
@rohinib7774
@rohinib7774 2 жыл бұрын
Tq sir for your clear explanation
@kritidhakal5530
@kritidhakal5530 5 жыл бұрын
Why can't we write for(i=0;i
@rishabhjoshi4336
@rishabhjoshi4336 5 жыл бұрын
Yess.?🤔🤔
@Durgaprasad-zq8sj
@Durgaprasad-zq8sj 5 жыл бұрын
Both loop are correct
@RisingIndiabyRSK
@RisingIndiabyRSK 5 жыл бұрын
Sir koi jbab nhi aapka explanation ka.sir make more video
@prakhanshubharadwaj1545
@prakhanshubharadwaj1545 6 жыл бұрын
That's really gr8 of you sir...
@satyaprakashmohanty1017
@satyaprakashmohanty1017 4 жыл бұрын
Show me better video of bubble sort. I dare u can't. Outstanding, fantastic explanation Sir
@ab_media46
@ab_media46 6 жыл бұрын
Excellent teaching sir...u r Great
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi aravind thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@juanmagarcia1499
@juanmagarcia1499 5 жыл бұрын
Thank u so much, you taught this so easily duuude. Great video, very useful :D
@shubhrakushwah2144
@shubhrakushwah2144 6 жыл бұрын
Sir please give me a link where i can find all your videos related to c. I am very weak in programming but after watching your video feeling much confident. thanks in advance
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi Shubhra Thanks for your interest towards our channel. kzbin.info/aero/PLLOxZwkBK52AE9jFVOGZTJxaiAC_xB8Yy
@DarshanRaval-e6q
@DarshanRaval-e6q 3 ай бұрын
Thank you sir 💯
@mdzeenath7008
@mdzeenath7008 3 жыл бұрын
such a great explanation sir.. Thank u so much
@saritakumari-oh8fs
@saritakumari-oh8fs 3 жыл бұрын
Nice teaching Sir... keep doing good work
@ch.prathyusha3984
@ch.prathyusha3984 3 жыл бұрын
Sir could you please explain worst case and best case time and complexity of bubble sort and merge sort
@Hmkm522
@Hmkm522 6 жыл бұрын
thank u so much sir for free teaching
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi manoj and teaching is my passion and want to share my knowledge to others
@ravikumarg8298
@ravikumarg8298 3 жыл бұрын
How to contribute - no thanks or join button?
@sakshigahlot......6194
@sakshigahlot......6194 5 жыл бұрын
superb explaining technique sir!!
@aakashrao8979
@aakashrao8979 4 жыл бұрын
Fantastic explanation sir
@sreekumar7177
@sreekumar7177 4 жыл бұрын
Thank you so much sir😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘
@Mark-dq4kg
@Mark-dq4kg 4 жыл бұрын
Great explanation :-) I appreciate your effort. génal ;-).
@noorshuib1054
@noorshuib1054 4 жыл бұрын
TQ sir for the tutorial. It's so helpful
@blackgalexys3608
@blackgalexys3608 4 жыл бұрын
Sir please provide us soft copy of our class leactures for free...
41 - INSERTION SORT WITH EXAMPLE
45:58
Sundeep Saradhi Kanthety
Рет қаралды 161 М.
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 34 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 654 М.
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 461 М.
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2 МЛН
Bubble Sort | C Programming Example
14:53
Portfolio Courses
Рет қаралды 119 М.
SHELL SORT WITH EXAMPLE
28:04
Sundeep Saradhi Kanthety
Рет қаралды 32 М.
Bubble Sort By Abdul Bari
20:10
Huzzii Editz♥️🔥
Рет қаралды 78 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 861 М.
RADIX SORT / BUCKET SORT -  DATA STRUCTURES
21:15
Sundeep Saradhi Kanthety
Рет қаралды 31 М.