Java Sorting Algorithms for Newbs

Scared of algorithms? Fear no longer as you learn how to implement various non-threatening sorting algorithms.
4.6 (183 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
3,583 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 8
  • Length 1 hour
  • Skill Level Intermediate Level
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English Closed captions available

Course Description

Does the word "algorithm" intimidate you? Well, it shouldn't! Algorithms are incredibly powerful programming tools, and once you pick up the basics of sorting algorithms, you'll be on your way in no time.

Begin Your Algorithm Journey With This Course Designed Specifically for Algorithm Newbies.

  • Learn the basic sorting algorithms first so you can eventually move on to more complicated algorithms
  • Implement the algorithms in Java code to see how they look in practice
  • Distinguish between the various features of basic sorting algorithms


Sorting Algorithms are Your Friends.

Sorting algorithms are not scary beasts; they are very practical programming tools. They can sort many different data sets: a basic integer array, a database of names, or a deck of cards. Nearly any large program could, and should, implement sorting algorithms.

That being said, algorithms are very important to software engineers. Let's say you're a video game programmer. You're going to need to be able to sort your hero's inventory or bank. Or, let's say you're a web developer. You're going to want to sort your content in a specific order.

Content and Overview

This course is designed for the average programmer who has absolutely no experience with algorithms. Although I recommend that you have some programming experience, particularly in Java, I assume no prior knowledge of algorithms.

You'll go through 8 lectures and 1 hour of content to get your feet wet in these sorting algorithms. Throughout the duration of the course, I'll focus on bubble sort, insertion sort, and merge sort - 3 beginner friendly sorting algorithms.

I take a two-pronged teaching approach. First, you'll see a definition and visual demonstration of each algorithm. This facilitates the second prong: the code. I'll take you step-by-step through the code implementation, explaining every line I type.

If you're looking to deepen your programming experience, and you're willing to learn, I recommend this course!

What are the requirements?

  • You should have either a background in Java, or another programming language you feel is similar to Java syntax.
  • Make sure you already have a programming environment (like and IDE) already set up and ready to go.

What am I going to get from this course?

  • Implement basic sorting algorithms into their own programs
  • Understand the procedure and theory behind sorting algorithms
  • Determine the relative speed of basic sorting algorithms

What is the target audience?

  • This basic Java sorting algorithms course is intended to provide an easy introduction into algorithms. Every algorithm will be implemented from scratch, so students should be willing to build from the ground-up.
  • This course is not for programmers who only want to utilize Java's included algorithmic methods.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Basic Sorting Algorithms
03:24

After this introduction, you will be able to answer: Why are sorting algorithms important? How will I learn throughout the duration of this course? Which algorithms will I be able to implement?

05:25

After this lesson, you will be able to comprehend and explain the way bubble sort correctly sorts a data set.

07:25

After this lesson, you will know how to implement bubble sort in code, especially in the Java programming language.

04:25

After this lesson, you will be able to not only understand but also visualize how insertion sort works in practice.

08:55

After this lesson, you will be able to apply insertion sort to coding applications, especially with Java.

07:24

After this lesson, you will understand why merge sort is more complicated than bubble sort or insertion sort. You will be able to explain how merge sort is able to divide and reconstruct the data set to form a sorted set.

19:27

After this lesson, you will be able to apply recursion to construct a divide-and-conquer approach to Java sorting - in this case, with merge sort.

03:46

After this lesson, you will know when it is appropriate to use bubble sort and insertion sort instead of merge sort, in terms of run-time.

Basic Sorting Algorithms
5 questions

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Brendan Campbell, Programmer and Game Designer

Thirteen. Long. Hours. The sun had risen from the east, set in the west, and I had accomplished… nothing. My sixth grade self just wanted to display a simple image onto an iPhone screen, but my lackluster programming skills had a different agenda. I knew that programming shouldn’t be this hard, if only the available resources lessened the learning curve.

I felt like any book I read or tutorial I watched assumed some sort of "prior knowledge." I was so frustrated - where does one acquire this prior knowledge?!

That is my goal as an instructor: to turn someone who has absolutely no programming experience into someone who can comfortably code on their own. Since I began programming in 6th grade, I understand what it's like to start from scratch. If I could do it, you can, too.

My main specialities are in iOS programming and Java. I've released 3 iOS applications, one of which was eventually acquired by another company. I also have university credit for Java.

Above all, I care about my students. I want to provide quality education, so I put time and effort into what I do.

I hope we'll be in touch!

Ready to start learning?
Take This Course