Simple python method that only need change two lines in permutations solution


  • 0
    F

    This is my solution in leetcode 46 permutations:
    0_1511229185649_火狐截图_2017-11-21T01-51-31.621Z.png

    And this is my solution in leetcode 47 permutations:
    0_1511229331163_火狐截图_2017-11-21T01-54-23.252Z.png

    You only need change two lines


Log in to reply
 

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