摘要: Given a non-overlapping interval list which is sorted by start point. Insert a new interval into it, make sure the list is still in order and non-over 阅读全文
posted @ 2017-07-14 13:32 Review->Improve 阅读(216) 评论(0) 推荐(0)
摘要: The API: int read4(char *buf) reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it retu 阅读全文
posted @ 2017-07-14 12:42 Review->Improve 阅读(322) 评论(0) 推荐(0)
摘要: Given a binary search tree and a new tree node, insert the node into the tree. You should keep the tree still be a valid binary search tree. You can a 阅读全文
posted @ 2017-07-14 11:45 Review->Improve 阅读(264) 评论(0) 推荐(0)