Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - adjacency list graph
Search - adjacency list graph - List
对任意给定的图(顶点数和边数自定),建立它的邻接表并输出,然后利用堆栈的五种基本运算(清空堆栈、压栈、弹出、取栈顶元素、判栈空)实现图的深度优先搜索遍历和广度优先搜索遍历算法。 -For any given graph (vertices and edges from the set), to establish its adjacency list and output, and then use the stack of five basic operations (empty stack, push, pop, take the top element, sub-stack is empty ) to achieve depth-first search graph traversal and breadth-first search traversal algorithm.
Date : 2026-01-10 Size : 368kb User : 沈辉

运用单链表和邻接矩阵实现图的表示、图的运算以及图的遍历-Used to achieve a single list and adjacency matrix graph representation, graph operations and graph traversal
Date : 2026-01-10 Size : 1.07mb User : 周规劝
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.