Question should clarify if negative values are allowed


  • 2
    A

    If only strictly positive numbers are allowed as values, then additional pruning of branches can be applied


Log in to reply
 

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