[LeetCode]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 elements equal, where a move is incrementing n...

2017-01-04 23:51:27

阅读数 199

评论数 0

[LeetCode]455. Assign Cookies

Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a ...

2017-01-04 00:41:05

阅读数 146

评论数 0

取消 删除