随笔分类 - Coding / Data Structure
摘要:疑似20220723的一篇不知所云的笔记,remake到这po出来看看 Implementing Search Algorithms(DFS BFS&UCS) In this notebook we will go through implementing depth-first search, b
阅读全文
摘要:数据结构Remake第四天 🌲 隔壁拿来直接能跑的 #include <iostream> using namespace std; typedef struct Node {//定义二叉树结构 char data; struct Node *lchild,*rchild; }*BiTree,Bi
阅读全文
摘要:数据结构remake第三天 栈和串 栈的基本操作 #include <stdio.h> #include <stdlib.h> typedef int SElemType; typedef struct SeqStack { SElemType *data; int maxlen; int top;
阅读全文
摘要:数据结构remake第二天 静态链表 可以理解为没有指针的编程语言的替代方案,增加cur作为p->next #include<stdio.h> #include<stdlib.h> #define MAXSIZE 10 typedef int ElemType; typedef struct Nod
阅读全文
摘要:数据结构remake第一天 线性表的操作 // // baby DataStructrue.cpp // dataStructure // // Created by on 2023/3/17. #include<stdio.h> #define N 10 #define MAX 20 typede
阅读全文

浙公网安备 33010602011771号