![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
舂舂舂
这个作者很懒,什么都没留下…
展开
-
C语言排序算法
#pragma once#include<stdio.h>#include"Stack.h"void PrintArray(int* a, int n);// 直接插入排序void InsertSort(int* a, int n);void TestInsertSort();// 希尔排序void ShellSort(int* a, int n);void TestShellSort();// 选择排序void SelectSort(int* a, int n).原创 2022-03-15 15:20:44 · 62 阅读 · 0 评论 -
二叉树初阶
#pragma once#include<stdio.h>#include<stdlib.h>#include<assert.h>#include<stdbool.h>#include"Quene.h"typedef char BTDataType;typedef struct BinaryTreeNode{ BTDataType data; struct BinaryTreeNode* left; struct BinaryTreeN.原创 2021-10-02 12:13:39 · 78 阅读 · 0 评论 -
堆的实现C
#define _CRT_SECURE_NO_WARNINGS 1#pragma once#include<stdio.h>#include<stdlib.h>#include<stdbool.h>#include<assert.h>#include<string.h>typedef int HPDataType;//大堆typedef struct Heap{ HPDataType* a; int size; int.原创 2021-10-02 11:00:09 · 52 阅读 · 0 评论