Improved data structure for Union Find - Pointers

a) Utilizes pointers to represent set relationships.
b) Implements Union Find with a hash table.
c) Uses arrays to store set information.
d) Deletes elements with the highest rank.