摘要: 初次了解DFS实际代码 注意事项已标注 阅读全文
posted @ 2018-08-16 23:51 jasoncool1 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1 //Old 2 class Solution { 3 public boolean canJump(int[] nums) { 4 int n = nums.length; 5 if(n == 0) return false; 6 if(n == 1) return true; 7 if(nums[0] =... 阅读全文
posted @ 2018-08-16 11:37 jasoncool1 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 没啥特别的 阅读全文
posted @ 2018-08-16 10:20 jasoncool1 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Java String to int1.int a = Integer.parseInt(str);2.int b = Integer.valueOf(str).intValue(); Char to intint c1 = Character.getNumericValue(i); 考虑0的情况 阅读全文
posted @ 2018-08-16 09:21 jasoncool1 阅读(295) 评论(0) 推荐(0) 编辑