package sortAlgorithm;import java.io.File;import java.io.IOException;import java.sql.Time;import java.util.Random; * @author sky * 该类给出各种排序算法public cl...
分类:
编程语言 时间:
2014-07-22 00:08:35
阅读次数:
344
There is a meaning for wings that cannot fly,it's a previous memory of when you once flew through the sky.——Anonymous。 这个夏天看的第一部关于夏天的动漫,记忆中,观铃仰望天...
分类:
其他好文 时间:
2014-07-19 21:18:36
阅读次数:
236
Constellations
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 5044
Accepted: 983
Description
The starry sky in the summer night is one of the most beaut...
分类:
其他好文 时间:
2014-07-19 02:17:16
阅读次数:
205
源自leetcode上的一道题。题目为:Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "bl...
分类:
其他好文 时间:
2014-07-16 20:46:04
阅读次数:
185
Given an input string, reverse the string word by word.For example,Given s = " the sky is blue ",return "blue is sky the".click to show clarification....
分类:
其他好文 时间:
2014-07-16 20:27:53
阅读次数:
134
题目:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".要求:1)首尾有空格的时候,反转后的string要将空...
分类:
其他好文 时间:
2014-07-16 19:29:54
阅读次数:
234
翻转字符串,想到什么写什么。。。我的做法是先trim掉空格,然后从字符串尾部开始扫描,遇到空格则认为一个单词结束,然后copy这个单词。需要注意的地方在于当扫描到最后一个单词的第一个字母时(譬如the sky is blue的t字母),注意单词长度的自增逻辑。网上还有人的做法是反转整个字符串,然后逐...
分类:
其他好文 时间:
2014-07-16 16:00:34
阅读次数:
240
题目:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the". 1 public String reverseWor...
分类:
其他好文 时间:
2014-07-14 09:06:02
阅读次数:
176
题目:
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
java代码:
{CSDN:CODE:422957}...
分类:
其他好文 时间:
2014-07-10 17:26:26
阅读次数:
136
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
分类:
其他好文 时间:
2014-07-08 10:26:31
阅读次数:
240