← Back to Difficulty Selection

Code Review (Easy): Cleaning the Dashboard

Story

While refining the internal developer dashboard, Lena needed a way to quickly strip out specific status codes that were cluttering the team's view. Mark reviewed her plan and suggested a helper that shifts all the useful entries to the beginning of the list, allowing the interface to ignore everything else. For example, if a list contains items like [ready, busy, busy, ready] and the team wants to hide the 'busy' items, the function would rearrange it so 'ready, ready' are the first two entries and tell the system to only look at those two. This keeps the platform’s data clean and efficient without the overhead of generating entirely new lists.

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: Missing Address Dots

Cookies help us track your progress - nothing extra.