The correct output for this should be 2 but its showing 3 and test case is not being passed


Log in to reply
 

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