摘要:
思路如下:1.使用的Hashtable(高效)集合,记录每个单词出现的次数2.采用ArrayList对Hashtable中的Keys按字母序排列3.排序使用插入排序(稳定)public void StatisticsWords(string path) { if (!File.Exists(path)) { Console.WriteLine("文件不存在!"); return; } Hashtable ht = new Hashta... 阅读全文
posted @ 2014-03-26 21:44
匆匆夏日
阅读(1403)
评论(0)
推荐(0)

浙公网安备 33010602011771号