how to use recursion to find the biggest subsequence below a certain length

后端 未结 0 1345
孤独总比滥情好
孤独总比滥情好 2021-01-31 19:05

the example is below:

def max_subsequence(n,t):
    >>> max_subseq(20125, 5)
    20125
    >>> max_subseq(20125, 6) # note that 20125 == 020125
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题