← Back to Difficulty Selection
Code Review (Easy): Batch Reorder Update
Story
Lena was tasked with refining how the internal task runner handles batches of incoming requests to improve the dashboard's display. Eva noticed that the default sequence wasn't quite right for the new workflow, so she asked Lena to flip the order of items within each group while leaving any leftover items at the end of the line untouched. For example, if there are five requests and the group size is set to three, the first three should be completely reversed while the remaining two stay exactly as they were. This update ensures that small clusters of work are handled in the specific priority order the team requires.
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: Decoding Old Archives