虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

您现在的位置是:虫虫下载站 > 资源下载 > 其他 > Write a program to decide if a graph has a cycle or not. The given graph can be a directed or undire

Write a program to decide if a graph has a cycle or not. The given graph can be a directed or undire

  • 资源大小:2 K
  • 上传时间: 2013-12-23
  • 上传用户:rubyist
  • 资源积分:2 下载积分
  • 标      签: graph directed program decide

资 源 简 介

Write a program to decide if a graph has a cycle or not. The given graph can be a directed or undirected graph, which is indicated at the time of reading the input (0 for directed graph and 1 for undirected graphs). The input is given as an adjacency list.

相 关 资 源