Amazon Interview Question

Basic LC medium related to graphs