2016年2月1日

摘要: If given a function that generates a random number from 1 to 5, how do you use this function to generate a random number from 1 to 7 with the same pro 阅读全文
posted @ 2016-02-01 12:09 marc_java 阅读(228) 评论(0) 推荐(0)
 
摘要: [ 12 | 2434 | 23 | 1 | 654 | 222 | 56 | 100000 ] Then the output should be: [ 1 | 100000 | 12 | 222 | 23 | 2434 | 56 | 654 ] 建立自己的comparator: Comparat 阅读全文
posted @ 2016-02-01 12:05 marc_java 阅读(274) 评论(0) 推荐(0)