← Back to Difficulty Selection
Code Review (Easy): Mapping the Onboarding Path
Story
Mark is working on a new module where team members can complete onboarding tasks either one at a time or by doubling up to finish faster. Eva asked him to create a small utility that calculates all the possible unique combinations of moves a new hire could take to reach the final goal. For instance, if a user needs to complete three milestones, they could take three single steps, a single then a double, or a double then a single, resulting in three distinct paths. This helper will eventually be used to visualize all the different journeys a developer can take through the platform.
Your Task
Read the story and code, then decide if the code is ready for production or needs improvement.
Hints
What would block an approval? Give me a hint.
Next
Check out Next Topic: Flexible Credit Allocation