2017年3月15日

Ackerman 函数 (双递归函数)

摘要: public static int ackerman(int n,int m){ if(n==1&&m==0){return 2;} else if(n==0&&m>=0) {return 1;} else if(n>=2&&m==0) {return n+2;} else {return acke 阅读全文

posted @ 2017-03-15 22:09 VbisoWen 阅读(432) 评论(0) 推荐(0)

简单 fibonacci 函数

摘要: public static int fibonacci(int n){ if(n<=1) return 1; else { return fibonacci(n-1)+fibonacci(n-2); } } 递归函数 n = 1 时 F(n)=1 n > 1 时 F(n)=F(n-1)+F(n-2) 阅读全文

posted @ 2017-03-15 21:56 VbisoWen 阅读(201) 评论(0) 推荐(0)

来自一个再有半年就要实习的大三学生的个人感想

摘要: 最近情绪波动比较大,主要是想我毕业之后能干什么。现在终于有点眉目了,知识是一切的基础。以前的遗憾只能现在慢慢的补回来了,大二编程的基础知识没有学好,现在就开始慢慢的补吧,争取在实习前能掌握数据结构,算法设计与分析和java设计模式的基础知识。 阅读全文

posted @ 2017-03-15 20:44 VbisoWen 阅读(100) 评论(0) 推荐(0)

导航