Problems
文章平均质量分 77
cozy_baby
没别的什么爱好,只对上网情有独钟。
展开
-
Reverse Integer
Before start there are several things,you should be noticed:1.The differences between 'for ( int i = (int) Math.pow( 2 , 32 ) - 1; i < (int) Math.pow( 2 , 32 ); i++)' and 'for ( int i = (int) Mat...原创 2018-06-06 00:27:53 · 189 阅读 · 0 评论 -
isPalindromeNumber
Before showing mine codes,i'd like to let you know two things: 1. It can functions on negative numbers. 2. It uses a sub-function called 'reverseInteger' to achieve the reversion of later hal...原创 2018-06-07 01:12:09 · 449 阅读 · 0 评论 -
RomanToInteger
Before showing mine codes,i’d let you to know: * queue can be printed through 'for(int a : queue) {System.out.println(a);}'. *ArrayList can not store LinkedList,since you can not retrieve certainplac...原创 2018-06-08 02:05:39 · 156 阅读 · 0 评论 -
LongestCommonPrefix
Before showing mine codes, i would like you to know:1.'String.subString(0,0)' is wrong. To get the first one of a String only through 'String.subString(0,1)'. 'String.subSequence(int start,int...原创 2018-06-08 20:30:46 · 239 阅读 · 0 评论 -
Valid Parentheses
Before showing mine codes,i would like you to know:Object to Character can be finished through impulsive way,like '(Character)map.get(index)'. Here is mine codes: import java.util.HashMap;import jav...原创 2018-06-09 00:33:43 · 128 阅读 · 0 评论