摘要:
题目: 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 a 阅读全文
posted @ 2019-04-21 23:24
silentteller
阅读(278)
评论(0)
推荐(0)
摘要:
题目: Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Example 2: 分析: 给定一个数组,返回其中三个元素乘积的最大 阅读全文
posted @ 2019-04-21 00:55
silentteller
阅读(325)
评论(0)
推荐(0)
摘要:
题目: Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: Note: 分析: 题目很好理解,就是求二叉树每一层的 阅读全文
posted @ 2019-04-21 00:12
silentteller
阅读(227)
评论(0)
推荐(0)
摘要:
题目: 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 horizontall 阅读全文
posted @ 2019-04-21 00:01
silentteller
阅读(301)
评论(0)
推荐(0)

浙公网安备 33010602011771号