摘要:
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 farthest le... 阅读全文
posted @ 2015-03-12 22:17
desperadox
阅读(106)
评论(0)
推荐(0)
摘要:
Given an array of integers, every element appearstwiceexcept for one. Find that single one.非常简单的一道题。直接相异或剩下的那个数就是答案。原理是两个相等的数异或的值为0。1 class Solution {... 阅读全文
posted @ 2015-03-12 22:12
desperadox
阅读(190)
评论(0)
推荐(0)
浙公网安备 33010602011771号