Skip to content

题目015: 答案不准确 #5

Description

@wanwe

题目里提到的两个问题是不等价的
找零顺序是无关的,上台阶的走法要考虑走几格的顺序
比如change_money(5) 其实只有两种方法5, 2+3
上5格台阶的话 就有三种方法,5 = 2+3 = 3+2
permutation or combination

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions