- 博客(12)
- 收藏
- 关注
转载 有关于数据库查询语法中,对时间有要求的方法
mysql查询今天、昨天、上周 该文来自转载,非原创 http://blog.sina.com.cn/s/blog_95ee143401016axl.html
2017-09-25 11:27:40
283
原创 LeetCode---231. Power of Two
Given an integer, write a function to determine if it is a power of two. 大意为: 判断输入的数字是否是2次幂的数 解题思路: 入门级思考,不过第一个注释我看到是有这么一个简单的方法可以调用,还有这种操作 附上代码: // return n>0 && Integer.bitCount(n)
2017-07-31 11:22:09
186
原创 LeetCode---203. Remove Linked List Elements
Remove all elements from a linked list of integers that have value val. Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6 Return: 1 --> 2 --> 3 --> 4 --> 5 大意为: 简单的说,就是删除链表中的指定元素,例
2017-07-28 10:34:09
178
原创 LeetCode---166. Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses.
2017-07-27 15:22:44
232
原创 LeetCode---617. Merge Two Binary Trees
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not. You need to merge them into a new binary tr
2017-07-27 09:29:30
172
原创 LeetCode---2.Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the sam
2017-07-27 09:16:08
165
转载 Android网络:由手机与手机WIFI互…
http://blog.csdn.net/yanzi1225627/article/details/21506489
2017-07-27 09:05:32
165
原创 byte数组计算校验和,帧头长度为12
private boolean matchCrc(byte[] readData, int packLength, int index) { int total = 0; int x = 0; // 计算校验和,这里帧头长度为12 for (x = index + 12; x < index + 12 + packLength && x total += readData[x]; if (r
2017-07-27 09:05:29
2302
转载 Android多国语言的value文件夹命名…
在res目錄下建立不同名稱的values文件來調用不同的語言包 Values文件匯總如下: 中文(中國):values-zh-rCN中文(台灣):values-zh-rTW 中文(香港):values-zh-rHK 英語(美國):values-en-rUS 英語(英國):values-en-rGB 英文(澳大利亞):values-en-rAU 英文(加拿大):value
2017-07-27 09:05:27
381
原创 android客户端和java服务端之间用s…
http://blog.csdn.net/qingzi635533/article/details/8961180
2017-07-27 09:05:24
566
原创 Android中ListView与CheckBox结合-…
http://blog.csdn.net/qq544529563/article/details/38760357
2017-07-27 09:05:21
647
原创 android shape的使用
http://www.cnblogs.com/cyanfei/archive/2012/07/27/2612023.html
2017-07-27 09:05:16
166
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人