摘要: The implementation of binary search is not complicated, but it is a vivid illustration of the power of divide-and-conquer. Here is the code 1 int bina 阅读全文
posted @ 2016-02-20 05:01 WithJiaJia 阅读(151) 评论(0) 推荐(0)
摘要: here are two versions of the function that reverses a singly linked list, by iteration and recursion respectively. there should be a better recursion 阅读全文
posted @ 2016-02-20 02:47 WithJiaJia 阅读(190) 评论(0) 推荐(0)