Do we need to do further combination after the first round combination based on the original input?


  • 0
    H

    Do we need to do further combination after the first round combination based on the original input?


  • 0
    W

    I think you need to.
    If the original input is like [1, 5], [3, 8], [4, 10], the output should be like [1, 10] instead of [1, 8], [4, 10].


  • 0
    C

    I don't think this question make sense. Because if your algorithm works right, then the output will be the final combination.


Log in to reply
 

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