← Back to Difficulty Selection
Code Review (Easy): Symmetry in Asset Tags
Story
Lena was working on a small utility for the internal platform to help the team identify special mirrored sequences in their numeric asset tags. She needed to create a check that would verify if a code, such as 4884, remained identical even when the digits were read in reverse order. During the code review, Mark suggested she find a way to handle these checks directly with math rather than converting the numbers into text. For example, the tool should confirm that a tag like 121 is a perfect match, while a sequence like 123 would be flagged as non-symmetrical.
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: Ordering the Tests