期刊文献+

基于队与栈结合排序算法实现及性能分析

A Sorting Algorithm Design and Performance Analysis Basedon Team with Stack
下载PDF
导出
摘要 排序有许多经典的算法,如插入排序、交换排序、选择排序等。这些排序算法的性能包括时间复杂度、空间复杂度以及稳定性各有优劣。笔者在这里给出一种全新的排序算法——队与栈排序。这种算法打破传统以交换或移动为主要排序的做法,而是借助栈和队这两种数据结构来实现排序。 Sorting has many classical algorithm, such as insertion sort, exchange sort, selection sort etc.The performance of these sorting algorithms including the time complexity, space complexity and stability have their pros and cons. Here the author gives a new algorithm-'-team and stack sort. This algorithm breaks the traditional exchange or move as the main sorting approach, but with the help of stack and the two data structure to achieve the sort.
出处 《电脑与信息技术》 2013年第6期52-53,共2页 Computer and Information Technology
关键词 队列 排序 时间复杂度 空间复杂度 stack queue sorting time complexity, space complexity
  • 相关文献

参考文献3

  • 1陈雁.数据结构[M].北京:高等教育出版社,2006:1-4.
  • 2车站斌,李占波.面向对象的数据结构(Java)[M].郑州:河南科学技术出版社,2011:145-153.
  • 3严蔚敏,吴伟民.数据结构[M].北京:清华大学出版社,2004:80-84.

共引文献30

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部