Hello everybody, I was solving a problem and for that, I needed a sorted map in java which stores an integer at the place of the key and a "Sorted Set" in place of value. Also, is the procedure same when we replace this sorted set with some user made class?
Can anyone tell me how to implement one such Sorted Map?
Also, what to do we have to do when we are implementing one such map where key is a sorted set? Is it really possible to implement one such thing in either C++ or Java?
Any tutorial/guidance/links will suffice.



