Well, that seemed easy after learning Bubble Sort. QuickSort isn't as easy, maybe I'll reserve that for another time and see what else you've got that will strike my fancy. I so appreciate your teaching methods, vids and layouts. Thank you so much...JT.....Nahhh, I'm going on to QuickSort in a couple days. I'm having too much fun....LOL
I've been programming in VB for over 20 years. And once again, I learned something new from Kevin Drumm. The countless hours I spent fighting that damn Array Index out of bounds error because of multiple loop conditions. I could have just used AndAlso or OrElse. This is the kind of shit those VB for Beginners books don't go over. Thanks.
At the end, the array was passed by default as a parameter by value, not by reference. I tried it myself and it works but I don't understand why, surely the output at the end would be of the unchanged original array? I hope that makes sense. Cheers.
The quicksort and the merge sort are both recursive. They are quite complex, so they each have their own playlist. ru-vid.com/group/PLTd6ceoshpreDtxyyp0_x8-pGCUAloQ7t ru-vid.com/group/PLTd6ceoshprdxXaIx8ECKaTbnx8heR3de You can review recursion here... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4Mn3zV0AmMU.html :)KD