常見例句雙語(yǔ)例句Our next example of a recursive function on lists will be a little more complicated.我們的下一個(gè)基于列表的遞歸函數(shù)示例要稍微復(fù)雜一些。The program then seeds the recursive function with the first item on the list and the remaining list.然后程序以列表中的第一項(xiàng)及其余部分列表為種子開始遞歸函數(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.之所以需要這么做是因?yàn)閰?shù)會(huì)在遞歸函數(shù)調(diào)用上被截?cái)?,而以后卻還需要訪問它。原聲例句This is another way of doing exponentiation, but this one's a recursive function. All right?但這是一種遞歸的方法對(duì)不對(duì)?,好,讓我們看看這種方法?麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 recursive function