AMD interview question

write code for different types of implementation of the graph.