摘要: 单链表逆置,超级热门的面试题,感觉最近见的比较多啊 一种方法是非递归,一种方法是递归 非递归方法: 阅读全文
posted @ 2017-09-04 23:47 uMBrELlAmRx 阅读(142) 评论(0) 推荐(0) 编辑
摘要: “开-闭”原则 (Open-Closed principle, OCP) 一个软件实体应当对扩展开放,对修改关闭。 Software entities should be open for extension, but closed for modification. 在设计一个模块的时候,应当使这 阅读全文
posted @ 2017-06-19 20:24 uMBrELlAmRx 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1867: John and Health rate Time Limit: 2 Sec Memory Limit: 128 Mb Submitted: 328 Solved: 77 Description The cold and flu season is here.John is worrie 阅读全文
posted @ 2017-04-22 22:50 uMBrELlAmRx 阅读(145) 评论(0) 推荐(0) 编辑