题目
https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof/
解法
考虑用字符串 进位法;
注意点: 数值前的0 和可能的溢出
1 | class Solution { |
DFS
全排列
1 | class Solution { |
https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof/
考虑用字符串 进位法;
注意点: 数值前的0 和可能的溢出
1 | class Solution { |
DFS
全排列
1 | class Solution { |
Update your browser to view this website correctly. Update my browser now