Krushkal Algorithm using Union Find Data Structure