分享一个符合国内高校数据结构和算法考试的网站
数据结构和算法交互式可视化动画版-图码https://www.totuma.cn
里面的代码都是完整可运行的和考研的数据结构规范一模一样,动画运行的每一步都有对应代码。
还可以看到变量和递归栈情况。
通过分步代码演练,可以直观地看到每行代码执行时对应的数据结构发生了什么变化。
所有算法代码完整,可直接运行,拒绝伪代码。
数据结构可视化动画版
目前已实现的算法有:
【顺序表-数组】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/sequence.html
【单链表-不带头节点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/link-head-no.html
【单链表-带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/link-head-node.html
【双链表-不带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/link-head-no-double.html
【双链表-带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/link-head-node-double.html
【静态链表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/list/link-static.html
【栈-顺序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/stack-sequence.html
【栈-链表-带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/stack-link-head-node.html
【栈-链表-不带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/stack-link-head-no.html
【栈-括号匹配-顺序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/stack-bracket-check.html
【栈-表达式计算-顺序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/stack-expression.html
【队列-顺序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-sequence-head-node.html
【队列-顺序表-循环队列】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-circular-seq.html
【队列-链表-带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-link-head-node.html
【队列-链表-不带头结点】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-link-head-no.html
【队列-双端队列】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-double.html
【队列-层次遍历】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/stack-queue/queue-level.html
【数组-存储结构】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/array/struct.html
【压缩存储-对称矩阵】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/array/zip-symmetry.html
【压缩存储-三角矩阵】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/array/zip-triangle.html
【压缩存储-三对角矩阵】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/array/struct-three-angle.html
【稀疏矩阵-三元组】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/array/triplet.html
【朴素模式匹配】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/string/simple-match.html
【KMP 算法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/string/kmp.html
【二叉树-链式存储】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/tree/binary-tree-link.html
【二叉排序树-链式存储】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/tree/binary-search-tree-link.html
【哈夫曼树-顺序存储】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/tree/huffman-tree-list.html
【线索二叉树】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/tree/thread-binary-tree-link.html
【AVL 平衡二叉树】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/tree/avl-link.html
【存储结构-邻接矩阵】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/struct-mat.html
【存储结构-邻接链表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/struct-link.html
【广度优先搜索-BFS】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/struct-link_bfs.html
【深度优先搜索-DFS】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/struct-link_dfs.html
【Prim(普里姆)算法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/prim.html
【Kruskal(克鲁斯卡尔)算法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/kruskal.html
【Dijkstra(迪杰斯特拉)算法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/dijkstra.html
【Floyd(弗洛伊德)算法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/floyd.html
【拓扑排序-栈】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/graph/topological-sort.html
【顺序查找-乱序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/linear.html
【顺序查找-有序表】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/linear-sort.html
【折半查找】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/binary.html
【B树】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/b-tree.html
【哈希表-拉链法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/hash-chaining.html
【哈希表-开放定址法】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/search/hash-open-addr.html
【直接插入排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/insert.html
【折半插入排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/binary-insert.html
【希尔排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/shell.html
【冒泡排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/bubble.html
【快速排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/quick.html
【简单选择排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/select.html
【堆排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/heap.html
【归并排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/merge.html
【基数排序】数据结构和算法可视化交互式动画版 https://www.totuma.cn/algorithms/sort/radix.html
【如何使用图码】数据结构和算法可视化交互式动画版 https://www.totuma.cn/book/intro/preface.html
【C 和 C++的运行环境安装】数据结构和算法可视化交互式动画版 https://www.totuma.cn/book/intro/install.html
【什么是数据结构?】数据结构和算法可视化交互式动画版 https://www.totuma.cn/book/desc/ds.html
【算法和算法的评估】数据结构和算法可视化交互式动画版 https://www.totuma.cn/book/desc/algo.html
【时间复杂度】数据结构和算法可视化交互式动画版 https://www.totuma.cn/book/desc/time.html