Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi :) Words is an array of pointers, so sizeof((*words)/sizeof(char)) is basically the size of a pointer divided by the size of a char. In this case, sizeof(char *)/sizeof(char). Basically you're not allocating enough memory for most of the tests.
    I don't know if that helps clear things up