0
Have any one know how to create a adjacency list graph without using any inbuilt classes and libraries in java ?
a graph without using inbuilt libraries
3 ответов
+ 2
just create a 2 dimensional list
containing class Edge
where Edge has the data destination vertices and the weights to reach it.
if there is no weights involved simply create a 2 dimensional list of type int.
how hard can that be?
+ 1
I already seen that video u sent . He uses inbuilt classes from util package and list interface . Any way thank you .
+ 1
Hazel Shen Bapiro Thank you both for your response.