摘要:
Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two 阅读全文
posted @ 2019-07-17 23:33
月半榨菜
阅读(97)
评论(0)
推荐(0)
摘要:
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Example 2: Note:Your 阅读全文
posted @ 2019-07-17 21:57
月半榨菜
阅读(59)
评论(0)
推荐(0)
摘要:
You need to find the largest value in each row of a binary tree. Example: 阅读全文
posted @ 2019-07-17 19:14
月半榨菜
阅读(106)
评论(0)
推荐(0)
摘要:
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Example 2: 阅读全文
posted @ 2019-07-17 18:33
月半榨菜
阅读(76)
评论(0)
推荐(0)
摘要:
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 binar 阅读全文
posted @ 2019-07-17 17:56
月半榨菜
阅读(154)
评论(0)
推荐(0)
浙公网安备 33010602011771号