Answer the question
In order to leave comments, you need to log in
How to implement the desired persistent data structure?
I need to create an array, any element of which can be changed, thus obtaining a new (next) version of the array with the ability to access the first one. I got acquainted with the known persistent data structures, and from the height of my flight it seems to me that none of the main ones (persistent stack, queue and deque) is suitable. I write in Java.
Please tell me how this can be done
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question