Enter your Sign-on user name and password.

Forgot password?
  • Follow us on:
Loading video...

Start Learning Now

Our free lessons will get you started (Flash® 10 required).
Get immediate access to our entire library.

Sign up for Educator.com

Features Overview

  • Get on-demand access to our complete library
  • Search and jump to exactly what you need to learn
  • Track your progress
  • Download practice and lesson files
  • *Ask questions and get answers from our community & instructors

Algorithms: Recursion

  • Recursion is when a method calls itself
  • A recursive call must be made with a different value than the method itself was called with
  • A recursive method must contain a conditional statement that will eventually cause it to exit without calling itself again
  • The case that causes the method to exit without calling itself again is called a base case
  • Calculating factorial numbers is a common recursive algorithm
  • Calculating Fibonacci numbers is a common recursive algorithm

Algorithms: Recursion

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

AP Computer Science: Introduction to Java