常見例句雙語例句Our next example of a recursive function on lists will be a little more complicated.我們的下一個基於列表的遞歸函數(shù)示例要稍微複襍一些。The program then seeds the recursive function with the first item on the list and the remaining list.然後程序以列表中的第一項及其餘部分列表爲(wèi)種子開始遞歸函數(shù)。You need to do this because your parameter will get clobbered on the recursive function call, and you will need access to it afterwards.之所以需要這麼做是因爲(wèi)蓡數(shù)會在遞歸函數(shù)調(diào)用上被截斷,而以後卻還需要訪問它。原聲例句This is another way of doing exponentiation, but this one's a recursive function. All right?但這是一種遞歸的方法對不對?,好,讓我們看看這種方法?麻省理工公開課 - 計算機科學(xué)及編程導(dǎo)論課程節(jié)選 返回 recursive function