Ad
  • Default User Avatar

    The problem description states "You cannot assume the size of the array". This solution will attempt to write past the end of the allocated memory if the words and added spaces exceed 256 characters.