Problem:
Question 1: Write a program to implement Kruskal's algorithm. Test your program and submit the source code along with the screen shots of running results to show the work that you have done.
Question 2: Consider two sets S1 and S2 of size 3 and 2 each.
Required:
Question: How many different functions are there from S1 to S2? From S2 to S1?
Question: How many different relations are there from S1 to S2? From S2 to S2?
Please show your all work and explain it.