# 归档 2017年3月

## LeetCode Weekly Contest 25解题报告 作者是 在线疯狂 发布于 2017年3月26日 在 LeetCode.

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

LeetCode 507. Perfect Number

LeetCode 537. Complex Number Multiplication

LeetCode 545. Boundary of Binary Tree

LeetCode 546. Remove Boxes

## 题目描述：

LeetCode 546. Remove Boxes

Given several boxes with different colors represented by different positive numbers.
You may experience several rounds to remove boxes until there is no box left. Each time you can choose some continuous boxes with the ...

## 题目描述：

LeetCode 545. Boundary of Binary Tree

Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, and right boundary in order without duplicate nodes.

Left boundary is defined ...

## 题目描述：

LeetCode 537. Complex Number Multiplication

Given two strings representing two complex numbers.

You need to return a string representing their multiplication. Note i2 = -1 according to the definition.

Example 1:

```Input: "1+1i", "1+1i"
Output: "0+2i" ...```

## 题目描述：

LeetCode 507. Perfect Number

We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself.

Now, given an integer n, write a function that returns true when it ...