Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

(UPI) Chapter 14: Exploring Recursion Course (How To)

via Treehouse

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it

About this Course

This course is part of our College Credit Program, designed to help you earn college credit while mastering valuable skills. If you're interested in pursuing college credit, click here to learn more.

This course explores recursion in Python, showcasing its power to solve complex problems by breaking them down into smaller, manageable sub-problems. It covers key concepts such as base and recursive cases, and demonstrates applications in solving factorials, Fibonacci sequences, and the Three Towers problem.

Syllabus

Understanding Recursion

This stage introduces the fundamentals of recursion in Python, explaining its use in solving problems like the Three Towers and factorial calculations by leveraging base and recursive cases.

Chevron 7 steps
  • instruction

    Recursion Basics

  • Recursion Basics Quiz

    5 questions

  • instruction

    Simple math recursion

  • instruction

    Defining a Recursive Function

  • Math and Recursive Function Quiz

    5 questions

  • instruction

    Recursion with Strings and Lists

  • Recursion with String and Lists Quiz

    5 questions

Understanding Fibonacci Sequence and Greatest Common Divisor

This stage delves into practical applications of recursion, including calculating Fibonacci sequences, finding the greatest common divisor (GCD), and implementing binary search for efficient data handling.

Chevron 6 steps
  • instruction

    Fibonacci Sequence Using Recursion

  • instruction

    Greatest Common Divisor (GCD)

  • Fibonacci and GCD Quiz

    5 questions

  • instruction

    Binary Search

  • instruction

    Solving Three Towers

  • Binary Search Quiz

    5 questions

Reviews

Start your review of (UPI) Chapter 14: Exploring Recursion Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.