Can somebody share array-implementation of persistent segment tree(without using pointers) and 2-3(easy) related problems ?
Also, can somebody share an implementation of HLD which does not invovle pointers?(Pointers are slow and explode the memory)
Thanks