79332864

Date: 2025-01-06 11:27:57
Score: 1
Natty:
Report link
  1. The break; statements are missing in the switch cases. This means that the code would continue to the next case, which in fact is not needed.

  2. I'm pretty sure you can avoid the inner loop. You're checking every Item in mainList with every Item in selectedList

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wessel van der zijl