Pregunta de entrevista de UST

Explain minimum spanning tree with example and code snippet