← Back to Difficulty Selection

Code Review (Easy): Finding the Missing Key

Story

Lena was building a quick look-up tool for our internal service registry, where all the unique IDs are kept in a strictly ordered sequence across a grid of labels. Mark noticed that the search was getting sluggish as the registry grew, so he suggested she treat the whole table as one continuous, sorted list to find items more efficiently. For instance, if a developer is looking for service ID 13 in a grid where the first row ends at 7 and the second starts at 10, the tool should be able to confirm the ID is missing almost instantly. Lena is now refining the logic so the platform can pinpoint a specific ID without having to scan through every row and column manually.

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: Finding Archived Logs

Cookies help us track your progress - nothing extra.