尾递归(tail recursion)
摘要:
package sunfa;public class DiGui { public static void main(String[] args) { Stack<Integer> stack = new Stack<Integer>(5); for (int i = 0; i < 5; i ) { stack.push(i); } System.out.println("dg:"); dg(stack); System.out.println("jc:"); Sys... 阅读全文
posted @ 2012-07-16 14:23 NotValid 阅读(303) 评论(0) 推荐(1) 编辑