I input testcase [2,3,5,6], why the expected answer is 6 instead of 4?


Log in to reply
 

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