
pat甲级(堆)
qq_41698081
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
1098 Insertion or Heap Sort (堆排序和插入排序)
1098 Insertion or Heap Sort (25 分)According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort remo...原创 2019-06-20 12:00:38 · 478 阅读 · 0 评论 -
1147 Heaps(判断是否是堆)
1147 Heaps (30 分)In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greater ...原创 2019-06-16 15:31:38 · 724 阅读 · 0 评论