Amazon interview question

Basic LC medium related to graphs