Partially persistent Data Structures are the ones where we can go back and look at how the data looked like in history.
For this assignment, you have to implement Partially persistent Data structure (dictionary) in python, with any data store (redis, mongoDB, etc) with the following features.
- A way to get latest state of dictionary. Or latest value of any key in dictionary.
- A way to get historical version of dictionary.
- History of any key in the dictionary.
- Update the dictionary to a new version.
Drop in replacement to a standard dictionary in python 3 is desirable but not necessity.
For further reading of Partially persistent Data Structures, two papers are given with this problem.