![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 62
乾月
学生一只,后来到福报厂了
展开
-
数据结构作业--西邮校园导航
介绍学习了数据结构课程中的一些简单的数据结构之后,用C语言和数据结构中的一些知识实现一个简易的学校的导航系统。 基本上的功能如下:数据结构采用图来存储信息,根据百度地图抽象出图的结构使用的是邻接矩阵,利用节点图,直接生成邻接矩阵的图数据结构。 校园的地点信息采用文件存储的方式,随时读取。 两点之间的最短路径,采用迪杰斯特拉算法找到最短的路径。 所有路径,采用深度优先的想法,进行递归的遍历寻找原创 2018-04-24 19:51:43 · 2813 阅读 · 3 评论 -
快速排序
ElementType Median3( ElementType A[], int Left, int Right ) { int Center = (Left+Right) / 2; if ( A[Left] > A[Center] ) Swap( &A[Left], &A[Center] ); if ( A[Left] ...原创 2018-04-25 22:55:14 · 215 阅读 · 0 评论 -
160. Intersection of Two Linked Lists(java)
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: A: a1 → a2 ↘ ...原创 2018-08-20 12:01:15 · 323 阅读 · 0 评论