leedcode
skey_online
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leedcood一刷--Binary Search
Binary Search的普遍基础写法如下:public class binarySearch { public int solution(int[] nums, int target){ if(nums == null || nums.length == 0){ return -1; } int start = 0;原创 2017-04-06 11:47:33 · 444 阅读 · 0 评论 -
leedcode一刷--Binary Tree
Binary Tree:public class Solution { public List<Integer> preorderTraversal(TreeNode root) { ArrayList<Integer> result = new ArrayList<Integer>(); if(root == null){ retur原创 2017-04-07 06:57:20 · 243 阅读 · 0 评论
分享