Skip to content

039 组合出合法最小数 #6

Description

@Richard-Wong

你好,调试代码的时候,输入 121 与 12时,得出的答案是12121,显然12112更小
我的理解是,当两个数字前面均相同,一个数字长,一个数字短时,不能按字典排序

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions