Cloud4C Interview Question

Write pseudo code for graph