I've heard the term Bubble Sort many times. Never needed it, so I never pursued it. Great explanation, can't wait to follow through and see how to use it. Love your vids. Thanks so much...JT
are you sure you have understood linda ? because you don't seem to be a high potential. Otherwise you can send me a mail and I will try to help you. don't be ashamed.
Instead of scanning the list itemCount - 1 times, just set a boolean variable swapped to true any time a swap takes place, and keep scanning until swapped = false after a scan. That way, if all items are in order except one (1, 2, 3, 5, 4, 6, 7, 8), you don't do a lot of redundant scanning. EDIT: Never mind. I see you've addressed this exact issue in video 2.
I've heard the term Bubble Sort many times. Never needed it, so I never pursued it. Great explanation, can't wait to follow through and see how to use it. Love your vids. Thanks so much...JT
Awesome video cant wait to see number three
are you sure you have understood linda ? because you don't seem to be a high potential. Otherwise you can send me a mail and I will try to help you. don't be ashamed.
Instead of scanning the list itemCount - 1 times, just set a boolean variable swapped to true any time a swap takes place, and keep scanning until swapped = false after a scan. That way, if all items are in order except one (1, 2, 3, 5, 4, 6, 7, 8), you don't do a lot of redundant scanning.
EDIT: Never mind. I see you've addressed this exact issue in video 2.
Thank you!!
Glad to help :)KD
@@ComputerScienceLessons Np xd
Great content but now you just made my professor assign more work...
Thank you. Sorry about the prof' :)KD
Great Job, Thanks so much
Tnx :)KD
you are great
So are you :)KD