# 归档 2017年6月11日

## LeetCode Weekly Contest 36解题报告 作者是 在线疯狂 发布于 2017年6月11日 在 LeetCode.

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

LeetCode 617. Merge Two Binary Trees

LeetCode 604. Design Compressed String Iterator

LeetCode 611. Valid Triangle Number

LeetCode 616. Add Bold Tag in String

## 题目描述：

LeetCode 616. Add Bold Tag in String

Given a string s and a list of strings dict, you need to add a closed pair of bold tag `<b>` and `</b>` to wrap the substrings in s that exist ...

## 题目描述：

LeetCode 611. Valid Triangle Number

Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle ...

## 题目描述：

LeetCode 604. Design Compressed String Iterator

Design and implement a data structure for a compressed string iterator. It should support the following operations: `next` and `hasNext`.

The given compressed string will be in the form of each letter followed ...

## 题目描述：

LeetCode 617. Merge Two Binary Trees

Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.

You need to ...