i have big problem in my code

my teacher asked us to write C++ code to solve kruskal algorithm i wrote the code using data structure Tree but she aske me to write it again using linked list

i don't know how?
i implement all things in tree

so i think i need i new one can anyone help me in linked list plz!!!!