![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
培娜i
愿早日成为IT技术小神,加油加油~
展开
-
Python实现堆排序
Python实现堆排序,附源代码原创 2022-08-27 08:39:45 · 922 阅读 · 1 评论 -
Python编程问题总结(不断更新)
Python编程报错问题与解决原创 2022-08-10 21:39:02 · 718 阅读 · 0 评论 -
Python-Leetcode-最长公共前缀
Python-Leetcode-最长公共前缀原创 2022-08-09 12:12:28 · 1622 阅读 · 0 评论 -
Python-Leetcode-罗马数字转整数
Leetcode-罗马数字转整数原创 2022-08-09 09:40:57 · 1291 阅读 · 0 评论 -
数据结构-基数排序
排序算法-基数排序原创 2022-08-07 21:16:34 · 95 阅读 · 1 评论 -
数据结构-桶排序
桶排序实现原创 2022-08-07 19:53:41 · 299 阅读 · 0 评论 -
数据结构--所有排序算法实现
数据结构--排序算法原创 2022-08-07 12:53:47 · 148 阅读 · 0 评论 -
数据结构-双向冒泡
头文件Sort.h#include<stdio.h>void doublebubble(int *L, int n);void swap(int *a, int *b);函数实现DoubleBubble.c#include"Sort.h"void swap(int *a,int *b) { int temp; temp = *a; *a = *b; *b = temp;}void doublebubble(int *L,int n) { int low .原创 2022-05-15 16:21:21 · 174 阅读 · 0 评论 -
数据结构-二叉树四种遍历实现
头文件Queue.h(为实现层次遍历)#include<stdio.h>#include<malloc.h>#include<assert.h>#include<stdbool.h>struct BinTreeNode;typedef BinTreeNode* EType;typedef struct QueueNode { BinTreeNode* data; struct QueueNode *next;}QueueNode;.原创 2022-05-09 20:47:44 · 362 阅读 · 0 评论 -
数据结构-链式队列实现
头文件Queue.h#include<stdio.h>#include<malloc.h>#include<assert.h>typedef int ElemType;typedef struct QueueNode { ElemType data; struct QueueNode *next;}QueueNode;typedef struct LinkQueue { QueueNode *front; QueueNode *tail;}L.原创 2022-05-09 20:06:02 · 387 阅读 · 0 评论 -
数据结构-栈的应用
头文件SeqStack.h#include<stdio.h>#include<malloc.h>#include<assert.h>#include<stdbool.h>#include<string.h>#define STACK_INIT_SIZE 8#define INC_SIZE 3typedef char ElemType;typedef struct SeqStack { ElemType *base; i.原创 2022-05-03 13:20:09 · 201 阅读 · 0 评论 -
数据结构-顺序队列实现
头文件SeqQueue.h#include<stdio.h>#include<malloc.h>#include<assert.h>#define MAXSIZE 10typedef int ElemType;typedef struct Queue { ElemType *base; int front; int rear;}Queue;void InitQueue(Queue*Q);void EnQueue(Queue *Q, ElemT.原创 2022-05-03 11:56:11 · 827 阅读 · 0 评论 -
数据结构-链栈实现
头文件(LinkStack.h)#include<stdio.h>#include<malloc.h>#include<assert.h>typedef int ElemType;typedef struct StackNode { ElemType data; struct StackNode *next;}StackNode,*LinkStack;void InitStack(LinkStack *s);void Push(LinkStac.原创 2022-05-03 11:25:42 · 118 阅读 · 0 评论 -
数据结构-顺序栈实现
头文件(SeqStack.h)#include<stdio.h>#include<malloc.h>#include<assert.h>#include<stdbool.h>#define STACK_INIT_SIZE 8#define INC_SIZE 3typedef int ElemType;typedef struct SeqStack { ElemType *base; int top; int capacity;}.原创 2022-05-03 00:33:09 · 388 阅读 · 0 评论 -
数据结构-双向链表实现
头文件DList.h#include<stdio.h>#include<malloc.h>#include<assert.h>typedef int ElemType;typedef struct Node { ElemType data; struct Node*next; struct Node*prio;}Node, *PNode;typedef struct List { PNode first; PNode last; int s.原创 2022-04-21 15:25:50 · 1295 阅读 · 0 评论 -
数据结构-循环单链表实现
头文件SCList,htypedef int ElemType;typedef struct Node { ElemType data; struct Node *next;}Node, *PNode;typedef struct List { PNode first; PNode last; int size;}List;void InitList(Node *list);//初始化Node *buy_node(Node *list);//创建节点void push.原创 2022-04-19 21:10:46 · 707 阅读 · 0 评论 -
数据结构-单链表实现
头文件SList.h#define ElemType int #include<stdio.h>#include<malloc.h>#include<assert.h>typedef struct Node {//结点类型 ElemType data; struct Node *next;}Node,*PNode;typedef struct List {//mylist单链表的结构 PNode first; PNode last; size.原创 2022-04-18 09:32:58 · 86 阅读 · 0 评论 -
数据结构-顺序表实现2
头文件SeqList.h#define SEQLIST_INIT_SIZE 20#define _CRT_SECURE_NO_WARNINGS#include<malloc.h>#include<assert.h>#include<stdlib.h>typedef int ElemType;typedef struct SeqList{ ElemType *base;//存储空间基址 int capacity; int size;//真实数据大小原创 2022-04-15 10:52:19 · 945 阅读 · 0 评论 -
数据结构-顺序表实现1
头文件 SqList.h#define SEQLIST_INIT_SIZE 8#define _CRT_SECURE_NO_WARNINGS#include<malloc.h>#include<assert.h>typedef int ElemType;typedef struct SeqList{ ElemType *base;//存储空间基址 int capacity; int size;//真实数据大小}SeqList;void InitSeqLi原创 2022-04-14 15:14:48 · 660 阅读 · 0 评论 -
数据结构-单链表LNode,*LinkList
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录前言 一、pandas是什么? 二、使用步骤 1.引入库 2.读入数据 总结前言提示:这里可以添加本文要记录的大概内容:例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。提示:以下是本篇文章正文内容,下面案例可供参考一、pandas是什么?示例:pandas 是基于NumPy 的一种工具,该工具是为了解决.原创 2022-03-22 16:23:43 · 2286 阅读 · 0 评论