Java: Algorithms


This course is all about algorithms! We’ll start by looking into the concept of recursion — what does it mean for a method to call itself? Once we wrap our minds around this tricky concept, we’ll look at how to use recursion to solve some problems.

Next, we’ll start to think about how we can evaluate the effectiveness of our algorithms. There are so many ways to solve a single problem — how do you know if your solution is a good one? What does it even mean for one solution to be “better” than the other?

Finally, we’ll look at some of the most common sorting and searching algorithms. If you’re looking to sort a list of numbers, how would you do that? What about if you were trying to find a single word in the dictionary? We’ll write a few algorithms to solve these problems.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Learn what recursion is and how to implement recursive solutions to problems.
  2. 2
    Learn how to evaluate the effectiveness of your algorithms.
  3. 3
    Learn about some of the most common searching and sorting algorithms!

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo

— Madelyn, Pinterest

I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.

Course Description

Learn how to implement and analyze important algorithms in Java.


Earn a certificate of completion
7 hours to complete in total

Learn what recursion is and how to implement recursive solutions to problems.

1 article, 1 lesson, 1 quiz

5 lessons, 2 articles, 3 quizzes