A little confusion


  • 0
    S

    I want to say that the description is a little bit of confused.
    For example, [1,2,3,4,5]
    the answer is 6: [1,2,3][2,3,4][3,4,5][1,2,3,4][2,3,4,5][1,2,3,4,5]
    What about the [1,3,5] ?
    Do we allow to construct the array this way?


Log in to reply
 

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