Question: Write a program in generic java program to sort an input string using Maximum heap sort. (4-marks) Q2. Write a program in java to
Write a program in generic java program to sort an input string using Maximum heap sort. (4-marks) Q2. Write a program in java to implement the following Sets (6-marks) 1. Create set objects A = {L,M,N,P,Q} and B = {L,R,S,P,T} (input from user) and display using iterator. 2. Find the output of An B 3. Find the output of AUB 4. Find the output of A - B 5. Check for the element T in the set A 6. Find the size of the set A and Set B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
