摘要:
1、 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthes 阅读全文
posted @ 2016-03-22 17:32
自朗活
阅读(138)
评论(0)
推荐(0)
摘要:
1、 Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in ZigZag-order. Given a matrix: return [1, 2, 5, 9, 6, 3, 阅读全文
posted @ 2016-03-22 17:27
自朗活
阅读(226)
评论(0)
推荐(0)
摘要:
1、Given an array of integers, the majority number is the number that occursmore than half of the size of the array. Find it. Given [1, 1, 1, 1, 2, 2, 阅读全文
posted @ 2016-03-22 17:13
自朗活
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号