SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 98 forks source link

Implemented Graphs #380

Closed nobita851 closed 3 years ago

nobita851 commented 3 years ago

Issue Id you have worked upon -

#359

Briefly explain your program logic -

Used adjacency list representation of graph to implement them.

Screenshots(Attach 2 screenshots of your own input and output) -

Directed Graph image

Undirected Graph image


Checklist:

All the conditions should be fulfilled for considering your code for merging -

nobita851 commented 3 years ago

Worked on requested changes.