归档 2016

LeetCode Weekly Contest 10解题报告

LeetCode Weekly Contest 10是LeetCode举办的第十三场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-10/

题解列表:

LeetCode 463. Island Perimeter

LeetCode 464. Can I Win

LeetCode 462. Minimum Moves to Equal Array Elements II

LeetCode 465. Optimal Account Balancing

[LeetCode]Minimum Moves to Equal Array Elements II

题目描述:

LeetCode 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 equal, where a move is incrementing a selected element by 1 or decrementing ...

继续阅读

[LeetCode]Island Perimeter

题目描述:

LeetCode 463. Island Perimeter

You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water ...

继续阅读

[LeetCode]Smarking Algorithm Contest 4解题报告

Smarking Algorithm Contest 4是LeetCode举办的第十二场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/smarking-algorithm-contest-4/

题解列表:

LeetCode 455. Assign Cookies

LeetCode 459. Repeated Substring Pattern

LeetCode 454. 4Sum II

LeetCode 456. 132 Pattern

每月存档

去年

明年