Skip to content

Conversation

madebysergio
Copy link

Fix: Removed unused/unreachable option[8]

Changes:

  • Removed option[8] from the logic as this option will never be reachable since the range is (0, 7) which is made up of 8 indexes and the logic starts with 0 as the main if statement.

Screenshot of change:

image

Related issues:

@sonnynomnom sonnynomnom merged commit 4a6b88c into codedex-io:main Oct 30, 2023
@sonnynomnom
Copy link
Member

Great freaking catch! I just checked the instructions and the solutions. You are totally right. +4!

@sonnynomnom sonnynomnom added the bug hunter challenge www.codedex.io/community/monthly-challenge/october-2023 label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug hunter challenge www.codedex.io/community/monthly-challenge/october-2023

2 participants