Ad
  • Custom User Avatar

    "found the needle at position " plus the index it found the needle, so:

    It's in the kata description.

  • Custom User Avatar

    Thank you. I did a two solution for it which the first one is just literally looks for the string "needle" and then the other one is to apply my first approach which is to convert the values inside of the array to string which is unnecessary but yea just to make it possible with case insensitive haha.

  • Custom User Avatar

    Somehow a bit stupid...
    In the condition it is necessary to indicate that we are looking for the index of the element and not its position!!!