首页 | 本学科首页   官方微博 | 高级检索  
     检索      

选择法排序在C语言中的实现方法探讨
引用本文:王芸.选择法排序在C语言中的实现方法探讨[J].科技信息,2011(23):89-90.
作者姓名:王芸
作者单位:新乡学院计算机与信息工程学院;
摘    要:排序是计算机程序设计中的一种重要操作,在数据处理中占有极其重要的位置。排序有很多种,选择法是其中一个比较简单而有效的算法。本文详细讨论了选择法排序在C语言中的三种实现方法,并对这三种方法在关键字的交换次数和比较次数上进行了分析和比较。

关 键 词:选择排序  C语言  实现方法  

Implementation Discussion of Selection Sort Algorithm in C language
WANG Yun.Implementation Discussion of Selection Sort Algorithm in C language[J].Science,2011(23):89-90.
Authors:WANG Yun
Institution:WANG Yun(College of Computer and Information Engineering,Xixiang Univeraity,Xinxiang Henan,453003)
Abstract:Sorting is an important operation in computer programming,and it also plays an extremely important position in data processing.There are a variety of sorting,selection method is one of the more simple and effective algorithm.This paper discusses the selection sort algorithm with the C language implementation of the three methods,and the three methods in key exchange number of times and times of comparison are analyzed and compared.
Keywords:Selection sort algorithm  C language  Implementation  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号