79833988

Date: 2025-11-30 15:22:06
Score: 3
Natty:
Report link

You have to specify in the loop that the element is found you can stop now, to solve the issue use break before incrementing the value of i

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shubham Chowdhury