- 博客(12)
- 收藏
- 关注
转载 有关于数据库查询语法中,对时间有要求的方法
mysql查询今天、昨天、上周该文来自转载,非原创http://blog.sina.com.cn/s/blog_95ee143401016axl.html
2017-09-25 11:27:40
341
原创 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
250
原创 LeetCode---203. Remove Linked List Elements
Remove all elements from a linked list of integers that have value val.ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 --> 3 --> 4 --> 5大意为: 简单的说,就是删除链表中的指定元素,例
2017-07-28 10:34:09
239
原创 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
289
原创 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
221
原创 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
212
转载 Android网络:由手机与手机WIFI互…
http://blog.youkuaiyun.com/yanzi1225627/article/details/21506489
2017-07-27 09:05:32
223
原创 byte数组计算校验和,帧头长度为12
private boolean matchCrc(byte[] readData, int packLength, intindex) {int total = 0;int x = 0;// 计算校验和,这里帧头长度为12for (x = index + 12; x < index + 12 + packLength &&x total += readData[x];if (r
2017-07-27 09:05:29
2411
转载 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
457
原创 android客户端和java服务端之间用s…
http://blog.youkuaiyun.com/qingzi635533/article/details/8961180
2017-07-27 09:05:24
633
原创 Android中ListView与CheckBox结合-…
http://blog.youkuaiyun.com/qq544529563/article/details/38760357
2017-07-27 09:05:21
711
原创 android shape的使用
http://www.cnblogs.com/cyanfei/archive/2012/07/27/2612023.html
2017-07-27 09:05:16
218
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅