Why expected output differs in C++ and Python/Java for this problem?


  • 0
    A

    When I tested with both C++(1st screenshot) and Java(2nd screenshot), expected output differs)
    0_1502879255110_Selection_001.jpg
    0_1502879477968_Selection_002.jpg

    Isn't it inconsistent?


Log in to reply
 

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