只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-11-19 23:48 tanchao 阅读(9) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-06-12 19:54 tanchao 阅读(18) 评论(0) 推荐(0)
摘要: Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n... 阅读全文
posted @ 2014-06-12 00:20 tanchao 阅读(123) 评论(0) 推荐(0)
摘要: Behavior Questions:whom is your favorite programer? why?why you use Python? why not others?could you describe your project now? why you don't use some... 阅读全文
posted @ 2014-06-10 02:22 tanchao 阅读(257) 评论(0) 推荐(0)
摘要: 前一篇文章是我做的题 这是剩余的三道,都很基础。1. Write a method to generate the nth number of the Fibonacci sequence.Defined as f(0)=0f(1)=1f(n)=f(n-1)+ f(n-2) where n>1Seq... 阅读全文
posted @ 2014-06-10 02:12 tanchao 阅读(166) 评论(0) 推荐(0)
摘要: 题目:2) Write code to find the 2nd smallest element in a binary search tree (BST) .Javaclass Node {public Node left;public Node right;public Node parent... 阅读全文
posted @ 2014-06-08 02:20 tanchao 阅读(386) 评论(0) 推荐(0)