Amazon interview question

Minimum spanning Tree MST using Graph Algorithms