
java
YoRipple
这个作者很懒,什么都没留下…
展开
-
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link原创 2015-12-15 20:23:05 · 314 阅读 · 0 评论 -
Nim Game 的解决
public class Solution { public boolean canWinNim(int n) { if(n==0){ return true; } if(n%4==0){ return false; }else{ return true原创 2015-12-15 20:20:47 · 486 阅读 · 2 评论 -
char[] 转换成String
char [] list = {'0','1','2','3', '4','5','6','7', '8','9','a','b', 'c','d','e','f'}; String result = String.valueo原创 2015-12-16 19:45:36 · 752 阅读 · 0 评论