why kruskal algorithm is called greedy?
The greedy approach is called greedy because, it takes optimal choice in each stage expecting, that will give a total optimal solution. It is a greedy algorithm because you chose to union two sets of vertices each step according tot he minimal weight available, you chose the edge that looks optimal at the moment.