摘要: 题目: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return t 阅读全文
posted @ 2017-06-20 19:32 panini 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repea 阅读全文
posted @ 2017-06-20 09:28 panini 阅读(250) 评论(0) 推荐(0) 编辑