作者归档:在线疯狂

RSS feed of 在线疯狂

LeetCode Weekly Contest 36解题报告

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

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

题解列表:

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]Design Compressed String Iterator

题目描述:

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 ...

继续阅读