- 博客(3)
- 问答 (7)
- 收藏
- 关注
原创 (三)一个将数组中特定数字放到最后的算法
Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements. For example, givennums = [0, 1, 0, 3, 12], after calling you
2016-03-31 17:47:41 1763
原创 (二)一个简单的加数算法
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit. For example: Givennum = 38, the process is like:3 + 8 = 11,1 + 1 = 2. Since2has on
2016-03-29 15:28:49 524
原创 (一)一个简单的取物游戏的算法
博主是一个java菜鸟,偶然间朋友推荐博主找leetcode.com上的算法从简单到难没事就写几个,所以博主决定每一到两天贴出一个自己写的算法code,因为是新手,代码一定显得拙劣,希望能和大神以及编程爱好者们相互交流,共同提高。以下是今天的算法和code: You are playing the following Nim Game with your friend: Ther
2016-03-27 10:43:41 1440
空空如也
怎么在一个项目中,进行多种数据库数据的交互
2018-01-30
搜狗搜索微信的爬取怎么样才能防止被限制啊
2017-03-27
在一个线程中用jdbc查询数据库,但是查出来的结果和期望结果不同
2016-12-17
爬虫抓取百度链接返回数量不够
2016-12-08
ArrayList底层的动态数组怎么实现?
2016-03-22
java中map为什么不能直接使用iterator遍历?
2016-03-21
redmine 粘贴截屏插件对ie8不兼容
2015-12-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人