摘要: Given a non-empty integer array, find the minimum number of moves required to make all array elements equal, where a move is incrementing a selected e 阅读全文
posted @ 2018-08-07 21:54 小T在学习 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n  阅读全文
posted @ 2018-08-07 21:34 小T在学习 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer 阅读全文
posted @ 2018-08-07 17:48 小T在学习 阅读(258) 评论(0) 推荐(0) 编辑