Java Sort Algorithm

preview_player
Показать описание

Welcome to my Java sort algorithm tutorial. Here I will cover all of the elementary sorting algorithms : Bubble, Selection and Insertion sort.

I also created a new method we can use to analyze the arrays so we can learn how the sorts work. I want this video to be very interactive so that you really understand the sort algorithms.

I also cover the linear and binary search algorithms. The code above will help you learn these algorithms perfectly.
Рекомендации по теме
Комментарии
Автор

I'm not a genius. Just a guy that has been programming for decades. I'm very happy to help :)

derekbanas
Автор

I respond to everything except Facebook and Twitter questions. If you send your questions on YouTube or Google+ I will see them and answer them.

derekbanas
Автор

Note that this bubble sort -- 5:00 -- has a small bug in it. 
The end condition for the outer loop should be i > 0, not i >1.
The loop needs to run one more time to ensure that the smallest number reaches the beginning of the sorted list if it starts out at the end of the unsorted list. 

YouBanz
Автор

Everything will be covered. I'm playing around with the titles. The playlist will show them in order and the name will be very descriptive. This will be a big tutorial

derekbanas
Автор

Thank you :) I'll cover performance and execution time as the tutorial continues. Thanks for the request

derekbanas
Автор

Thank you :) I'm not certain what all I'll cover. I'll definitely cover dynamic programming. I hadn't planned on covering greedy algorithms, but since you asked for it I'll see what I can do

derekbanas
Автор

teh moment you realize this online tutorial is better teaching you than your professor that you pay over 1k for....

sososleepie
Автор

Thank you very much for the compliment :) Yes, I have a bunch of videos like that planned while I make my Android tutorials to break up the content. Thank you for the request

derekbanas
Автор

I'm a consultant for a bunch of medium sized companies. I mainly try to keep businesses in business by moving them into online stores. Over the past 2 years I have been making a bunch of Android apps.

derekbanas
Автор

Thank you very much :) I'm very happy that you are enjoying them. I'll continue to try to live up to your compliments

derekbanas
Автор

I learnt these sort algorithms some 14 years back in college...now when I want to brush up my skills, this tutorial of yours is very helpful in revising everything. Awesome.

svdfxd
Автор

Thank you very much :) I'm extremely happy that you like my tutorials!

derekbanas
Автор

Best explanation I've ever seen on how bubble sort works.

Truthiness
Автор

Thank you very much :) I've been approached by a bunch of pay sites, but I promise my stuff will always be free. I have done this for 5 years for pretty much nothing even if I include ad revenue, so no amount of money will change my mind.

derekbanas
Автор

Thank you very much :) I have never been compared to a Stanford professor before. Thank you for pointing out the error. That's what I get for writing code out of my head

derekbanas
Автор

Absolutely I'll cover that and much more. I'm glad you guys are interested in this topic :)

derekbanas
Автор

You're very welcome :) I may do a series on just how to answer common interview questions. I may stagger out tutorials on just one topic at a time like how to build a URL shortener?

derekbanas
Автор

You're very welcome :) I'm not that popular, but I'm glad more people are finding me recently!

derekbanas
Автор

I just double checked generating smaller arrays and didn't have a problem. The problem can be found in the changes you made. I have all of the code in a link under the video

derekbanas
Автор

I used to play around with mods in the past. I have been messing around with Dont Starve lately as well. I can't wait to start covering game development :)

derekbanas
visit shbcf.ru