Anonymous interview question

How you implement DSA in graphs?