资源列表
[数据结构常用算法] HeapSort
说明:堆排序,利用堆结构给指定数列排序。时间复杂度为nlog(n)。无辅助空间。算法效率稳定。-Heap sort, utilizing a stack structure to specify the number of columns to sort. The time complexity is nlog (n). No auxiliary space. Stable efficiency of the algorithm.<luther8547> 在 上传 | 大小:206kb | 下载:0
[数据结构常用算法] Data-structure-
说明:数据结构与算法分析程序演示:包括线性表,串,栈和队列,树,图-Data structure and algorithm analysis program demonstrates: including linear tables, strings, stacks and queues, trees, graphs<闫> 在 上传 | 大小:535kb | 下载:0
[数据结构常用算法] unluckyday
说明:不吉利日期:函数功能:在国外,每月的13号和每周的星期5都是不吉利的。特别是当13号那天恰好是星期5时,更不吉利。已知 某年的一月一日是星期W,并且这一年一定不是闰年,求出这一年所有13号那天是星期5的月份,按从小 到大的顺序输出月份数字。(W=1..7)-Inauspicious date: Function: In other countries, on the 13th of each month and day of the week 5 are unlucky. Especia<卢俊> 在 上传 | 大小:132kb | 下载:0
[数据结构常用算法] integral-power
说明:小明是个小学五年级的学生,为了早点去看自己爱看的卡通,他想快点把作业做完。可是可恶的数学老师今天却布置了一道难题,小明想了很久也不知道该怎么做。你的任务就是帮小明解决掉这道数学题。 题目是这样子的,有一个整数a(-2^31<= a < 2^31-1),计算它的整数幂a^n,其中1<=n<=99。-Xiao Ming is a fifth-grade students, in order to see his early love to watch cartoons,<clj> 在 上传 | 大小:1kb | 下载:0