摘要:
**C++中菱形继承中继承不明确问题**  ```c++ class A { public: virtual vo 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(42)
评论(0)
推荐(0)
摘要:
**优先队列**  #### 核心代码 ```c++ #pragma once #include #include 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(11)
评论(0)
推荐(0)
摘要:
常见指令以及权限理解 # 命令格式: > `command [-options] parameter1 parameter1` > > 命令 选项 参数1 参数2 > > 1.`command`为命令名称,例如变化目录的`cd`等 > > 2.中括号`[ ]`实际在命令中是不存在的,这个中括号代表* 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(26)
评论(0)
推荐(0)
摘要:
#### C++中的继承  #### 1.继承的概念和定义 >**继承**是一种提高代码复用率的重要方式,它允许程 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(17)
评论(0)
推荐(0)
摘要:
#### 可直接获取链表长度的单链表 #### SeqList.h文件 ```c #pragma once //存size的链表 #include #include #include #include typedef int SeqDataType; typedef struct SeqNode { 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(23)
评论(0)
推荐(0)
摘要:
队列 queue.h文件 ```c #include"queue.h" int main(void) { Queue q; QueueInit(&q); QueuePush(&q, 1); QueuePush(&q, 2); QueuePush(&q, 3); QueuePush(&q, 4); Q 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(7)
评论(0)
推荐(0)
摘要:
二叉树的实现(包括层序遍历) queue.h文件 ```c #pragma once #include #include #include typedef struct BinaryTreeNode* QDataType; typedef struct QueueNode { struct Queu 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(13)
评论(0)
推荐(0)
摘要:
Heap堆排序 向上调整 当我们在一个堆的末尾插入一个数据后,需要对堆进行调整,使其仍然是一个堆,这时需要用到堆的向上调整算法。 
评论(0)
推荐(0)
摘要:
### Lesson6--排序 #### 【本节目标】 - #### 1.排序的概念及其运用 - #### 2.常见排序算法的实现 - #### 3.排序算法复杂度及稳定性分析 
评论(0)
推荐(0)
摘要:
#### List.h文件 ```c++ #pragma once #include #include #include #include typedef int LTDateType; typedef struct ListNode { struct ListNode* prev; struct 阅读全文
posted @ 2023-08-24 22:28
Hayaizo
阅读(6)
评论(0)
推荐(0)

浙公网安备 33010602011771号