Or generally for most linked list problems? Things become much easier then.
It says to do it in place, so no.
in place means not to copy the input linked list, using extra memory is not a essential condition ?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.