Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to check if a matrix is weakly connected in a directed graph.

Run the code to see the output here...