69 CS651 Lecture : DSA notes 49

7 views1 pages

Document Summary

| lesson 49 | dsa in java | @codingninjasindia. Adacency matrix representation of graph in java is how we can represent graph or how the information of graph is is is stored in programming This video is a part of a playlist of data structure and algorithm and java by coding ninjas in this video we "re going to look at how we. can know that what nodes are adjacent to each other There are total number of five edges in this g raph. The matrix would always be n, cross n and cross n n is number of nodes, so we are going to form a matrix.