摘要: 转载注明出处 http://www.cnblogs.com/ligun123/archive/2013/03/19/2969477.html题目来源:https://www.hackerrank.com/challenges/billboardsBillboardsADZEN is a very popular advertising firm in your city. In every road you can see their advertising billboards. Recently they are facing a serious challenge , MG Road t 阅读全文
posted @ 2013-03-19 16:37 痴人指路 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 转载注明出处 http://www.cnblogs.com/ligun123/archive/2013/03/19/2969438.html先是跟着Hackerrank练习了下插入排序然后又做了Pairs,来源:https://www.hackerrank.com/challenges/pairsGiven N numbers [N<=10^5], count the total pairs of numbers that have a difference of K. [K>0 and K<1e9]. Each of the N numbers will be > 0 阅读全文
posted @ 2013-03-19 16:21 痴人指路 阅读(335) 评论(0) 推荐(0) 编辑