X Interview Question

Clone graph