Ad
  • Default User Avatar

    Great code! - but it seems like you made an error in your inner for loop. Your limit is the length of the array, but it looks like it should be the length of the string that you are looping through at array[i] -ie. j < array[i].length?