Challenge: Beckett's Problem
Apply what you’ve learned about recursion in the coding exercises in this lesson.
We'll cover the following
Problem statement
You are given a number of actors, n
, in input. Your task is to write a recursive function for Stage Directions. Indicate when which actor should Enter or Exit.
Get hands-on with 1400+ tech skills courses.