bp Interview Question

Convert interactions to linkedList and identify if input nodes are cyclic or intersection or neither. Input/output is something we have to handle