Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice

Detect cycle in an undirected graph

Open
#977 2 comments 0 reactions 1 assignee Claimed by @msdatalytics View on GitHub
LGMSOC21 🟨 Level2
Dominant language
C++
Stars
323
Forks
472
PR merge metrics
No merged PRs in 30d

Description

**AIM:**

This is the GFG problem Medium Level
Given an undirected graph with V vertices and E edges, check whether it contains any cycle or not.

**Please Assign this to me under LGM SOC .**

**Details**

We have to write the code which takes V denoting the number of vertices and adjacency list as input parameters and returns a boolean value denoting if the undirected graph contains any cycle or not.

### Programming language

- [x] C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.