摘要: #441. Arranging Coins You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, 阅读全文
posted @ 2016-11-22 13:14 冯兴伟 阅读(247) 评论(0) 推荐(0)
摘要: #462. Minimum Moves to Equal Array Elements II Given a non-empty integer array, find the minimum number of moves required to make all array elements e 阅读全文
posted @ 2016-11-22 12:41 冯兴伟 阅读(876) 评论(0) 推荐(0)
摘要: #453. Minimum Moves to Equal Array Elements Given a non-empty integer array of size n, find the minimum number of moves required to make all array ele 阅读全文
posted @ 2016-11-22 12:32 冯兴伟 阅读(588) 评论(0) 推荐(0)