摘要: 归并排序:主要思想是,将一列无序数,无限分组,直至分成单个元素,然后归并,因为归并前,两组数据都已经有序,所以复杂度要小。代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Test{ class Program { static void Main(string[] args) { int[] array = { 3, 1, 2, 9, 7, 8, 6 }; Console... 阅读全文
posted @ 2013-03-14 23:32 大器天下 阅读(156) 评论(0) 推荐(0) 编辑