摘要:
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 阅读全文
摘要:
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, 阅读全文
摘要:
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, 阅读全文