摘要: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Callingnext()will return the next... 阅读全文
posted @ 2015-01-21 14:49 Eason Liu 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题目描述:写一个函数,求两个整数之和,要求在函数体内不得使用+、-、*、/四则运算符号。输入:输入可能包含多个测试样例。对于每个测试案例,输入为两个整数m和n(1 2 3 int add(int a, int b) { 4 int n1, n2; 5 do { 6 ... 阅读全文
posted @ 2015-01-21 13:26 Eason Liu 阅读(508) 评论(0) 推荐(0) 编辑