Amazon interview question

Clone Graphs dsa question in LC