In dynamic programming, one of the things that's going on is we're trading time for space.
在动态编程法中我们是在用,空间换时间,除了动态编程法。
Dynamic programming is not the only time we do that.
我们在其他算法中也会用到这一点。
You're not out of the woods yet Even if you haven't got fixated on anything, there's still this dynamic going on all the time with your id, your ego and your superego.
你并没有脱离险境,即使你并没在任何阶段里发生固着,你的行为仍然会一直受到本我,自我和超我的驱使。
So, certainly the CS50 Library designed to be dynamic and, in fact, any time you call get string, we are, in fact, ; allocating a chunk of RAM but it's not coming from the stack; it's actually coming from this portion of memory called the heap.
所以,Cs50库是动态设计的,实际上,每次你调用GetSting时,我们分配一块内存,但它不是来自栈;,而是来自于叫做堆的,内存的一部分。
应用推荐