Report question

Question: Java: how to represent graphs?