堆
小·幸·运
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT甲级A1147 Heaps(30 分)
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 t...原创 2018-09-06 22:03:09 · 313 阅读 · 0 评论 -
PAT甲级A1098 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 removes one element from the input data,...原创 2019-02-24 19:15:15 · 288 阅读 · 0 评论 -
PAT甲级A1155 Heap Paths (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 than or equal to (i...原创 2019-03-16 20:51:41 · 323 阅读 · 0 评论
分享