2014年11月17日

Binary Tree Inorder Traversal

摘要: Binary Tree Inorder TraversalGiven a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ ... 阅读全文

posted @ 2014-11-17 22:20 luckygxf 阅读(129) 评论(0) 推荐(0) 编辑

Single Number

摘要: Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti... 阅读全文

posted @ 2014-11-17 20:52 luckygxf 阅读(149) 评论(0) 推荐(0) 编辑

导航