Problem with C tests?

  • 0

    The C boilerplate expects you to malloc() an int[] of length *returnSize. But it passes in a return size of 0. I have more than zero results, and the spec doesn't suggest how I should deal with this bozo input. What am I missing?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.