I have some problem that need using Link-cut tree to solve. Most of page about LCT implementing this by using pointer.
But I don't know too much about pointer so anyone help me to implement LCT by using vector or static array?
Thank you and sorry for my bad English.








