摘要:
public class Solution { public int NumberOf1Between1AndN_Solution(int n) { int count=0; for(int i=1;i<=n;i++){ count+=core(i); } re... 阅读全文
摘要:
上面的解法 时间复杂度 空间复杂度较高 阅读全文
摘要:
class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } public class Solution { public TreeNode C... 阅读全文