LeetCode Weekly Contest 46是LeetCode举办的第五十一场正式周赛,共4道题目,比赛时长1.5小时。
比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-46/
题解列表:
LeetCode 662. Maximum Width of Binary Tree
LeetCode Weekly Contest 46是LeetCode举办的第五十一场正式周赛,共4道题目,比赛时长1.5小时。
比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-46/
题解列表:
LeetCode 662. Maximum Width of Binary Tree
There is a strange printer with the following two special requirements:
LeetCode 663. Equal Tree Partition
Given a binary tree with n
nodes, your task is to check if it's possible to partition the tree to two trees which have the equal sum of values after removing exactly one edge ...
LeetCode 662. Maximum Width of Binary Tree
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binary tree has ...
Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the average gray scale (rounding down) of ...