How shall the output look like ?


  • 1

    I'm writing my solution in Java using recursion and I don't understand the result appearing after a wrong submission.
    The given method is a void one. Do I have to print the values ? Comma separated ?

    Please explain me the output format.


Log in to reply
 

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