摘要: 转自Reversing a Linked List in Java, recursivelyThere's code in one reply that spells it out, but you might find it easier to start from the bottom up, ... 阅读全文
posted @ 2014-10-31 22:23 Noble_ 阅读(347) 评论(0) 推荐(0)
摘要: 转自通过金矿模型介绍动态规划对于动态规划,每个刚接触的人都需要一段时间来理解,特别是第一次接触的时候总是想不通为什么这种方法可行,这篇文章就是为了帮助大家理解动态规划,并通过讲解基本的01背包问题来引导读者如何去思考动态规划。本文力求通俗易懂,无异性,不让读者感到迷惑,引导读者去思考,所以如果你在阅... 阅读全文
posted @ 2014-10-31 17:26 Noble_ 阅读(274) 评论(0) 推荐(0)