Ad
  • Default User Avatar

    The key of this problem is how you return your output,if you return a string with the sentense "found the needle at position" plus the posicion of needle as a int you are gonna get the same error.you need to turn the int to string and you are good