上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: 原文链接http://www.cnblogs.com/avenwu/p/3482199.html说明早上看到一篇文章介绍了ResideMenu得使用,这是一个类似SlidingMenu的控件,感觉有点高尚大,反正我之前没见过,本着凑热闹的好奇心,立马clone把玩下,项目地址奉上:https://g... 阅读全文
posted @ 2014-09-24 00:43 birdhack 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1、在项目上右键,选择android tools->rename application package,输入需要改为的名称,然后选择需要改的包,有部分包可能不需要更名.2、上一步并没有修改源代码的包,只是将工程中涉及包名的地方改了,下面修改源码的包名,右键要改包名的源码包,选择refactor->... 阅读全文
posted @ 2014-09-24 00:20 birdhack 阅读(370) 评论(0) 推荐(0) 编辑
摘要: You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb... 阅读全文
posted @ 2014-09-22 21:54 birdhack 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or... 阅读全文
posted @ 2014-09-22 21:13 birdhack 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 为什么要使用bookmark写代码的时候老是要在各个文件的不同位置跳转,如果忘记函数在哪个文件中,找起来比较麻烦,可以使用eclipse的bookmark1 插入bookmark 把光标放在重要代码位置的最左边一栏,右击 add Bookmark,设置bookmark名称。2 显示bookmark视... 阅读全文
posted @ 2014-09-22 13:29 birdhack 阅读(535) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointe... 阅读全文
posted @ 2014-09-20 18:17 birdhack 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note... 阅读全文
posted @ 2014-09-20 12:26 birdhack 阅读(87) 评论(0) 推荐(0) 编辑
摘要: Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1... 阅读全文
posted @ 2014-09-16 21:48 birdhack 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an... 阅读全文
posted @ 2014-09-16 21:04 birdhack 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le... 阅读全文
posted @ 2014-09-15 23:23 birdhack 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页