随笔分类 -  数据结构

冒泡排序算法
摘要:/// /// 冒泡排序算法 /// public static void BubbleSort() { int[] array = new int[] { 10, 2, 5, 1, 8, 6, 9 }; int t = 0; for (in... 阅读全文

posted @ 2017-03-23 07:23 Jade_K 阅读(120) 评论(0) 推荐(0)

斐波那契数列
摘要:1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368........ 很简单的实现代码: 阅读全文

posted @ 2017-03-23 07:13 Jade_K 阅读(117) 评论(0) 推荐(0)

导航