摘要:
'''You need to find the largest value in each row of a binary tree.Example:Input: 1 / \ 3 2 / \ \ 5 3 9Output: [1, 3, 9]'''# Definition for a binary tree nod... 阅读全文
posted @ 2017-11-27 19:00
稀里糊涂林老冷
阅读(239)
评论(0)
推荐(1)
摘要:
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.Find all the elements that appear twice in this array.Could you do it without extra spac... 阅读全文
posted @ 2017-11-27 18:13
稀里糊涂林老冷
阅读(264)
评论(0)
推荐(0)