上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: Android 系统为开发者提供了什么? 1. 四大组件 活动(Activity):界面 服务(Service):后台默默运行 广播接收器(Broadcast Receiver):接收、发送广播消息 内容提供器(Content Provider):应用程序之间共享数据 2. 系统控件(界面控件) 3 阅读全文
posted @ 2018-04-14 16:24 optor 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/valid perfect square/description/" 实现如下: 阅读全文
posted @ 2018-04-09 18:23 optor 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/intersection of two arrays ii/description/" 实现如下: 阅读全文
posted @ 2018-04-09 18:09 optor 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/intersection of two arrays/description/" 实现如下: Java import java.util.ArrayList; import java.util.Arrays; import j 阅读全文
posted @ 2018-04-09 12:17 optor 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/reverse vowels of a string/description/" 跟反转字符串那道题目类似,直接双指针方法走起: 阅读全文
posted @ 2018-04-09 12:02 optor 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 去哪儿面试的最后一道题,开始我写了全数遍历的实现代码,然后面试官要求使用递归来实现,但是我一个算法战五渣早就忘记递归是个什么鬼了,然后面试就GG了。 对于这道题目的解答方法有多种,先把它们全部列出来吧: 全数遍历; 半数遍历; 递归实现; 使用栈来实现; 全数遍历(我的答案) 刚开始,我写的是最近的 阅读全文
posted @ 2018-04-09 11:47 optor 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/reverse string/description/" 实现如下: Java / Created by clearbug on 2018/2/26. / public class Solution { public stat 阅读全文
posted @ 2018-04-09 11:43 optor 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/power of four/description/" 这道题目我没想出实现来,看得讨论区别人的答案: 阅读全文
posted @ 2018-04-08 19:59 optor 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/power of three/description/" 实现如下: Java / Created by clearbug on 2018/2/26. / public class Solution { public stat 阅读全文
posted @ 2018-04-08 19:45 optor 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 原题链接: "https://leetcode.com/problems/range sum query immutable/description/" 实现如下: Java / Created by clearbug on 2018/4/8. / public class NumArray { p 阅读全文
posted @ 2018-04-08 11:35 optor 阅读(96) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页