← Back to Difficulty Selection

Code Review (Easy): Missing Address Dots

Story

Lena was working on a tool for the team's internal dashboard because some old connection logs had lost their formatting, leaving only long strings of numbers where address data used to be. She needed to create a helper that could identify every possible valid way to re-insert the separators without changing the sequence of the digits. Mark asked her to ensure the tool filtered out any impossible combinations, such as those with sections that were too large or started with a zero. For instance, if a log entry showed '101023', the helper should be able to list all possible valid versions like '10.10.2.3' and '101.0.2.3'.

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: Flipping Legacy Identifiers

Cookies help us track your progress - nothing extra.