Increasing Digits
题目地址(475. Increasing Digits)
题目描述
Given an integer n, return the number of positive integers of length n such that the digits are strictly increasing.
Example 1
Input
n = 2
Output
36
Explanation
We have 12, 13, 14, ..., 89.
Example 2
Input
n = 1
Output
9前置知识
思路
关键点
代码
最后更新于
这有帮助吗?