I get a runtime error for the input [1,2,3] but it run correctly on my system why this happens?


Log in to reply
 

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