← Back to Difficulty Selection

Code Review (Easy): The Signal Merger

Story

Lena was working on a helper for the dashboard that combines two different sequences of light signals into a single output. Mark mentioned that whenever two active signals land in the same spot, they should move forward to create a new position, much like counting with simple on-off switches. For instance, if she merges a sequence of '11' with a single '1', the dashboard should display '100' as the final result. Eva checked the logic to ensure it would be a useful addition to their team's shared utility folder.

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: Merging Account Balances

Cookies help us track your progress - nothing extra.