Inverted index of sets [on hold]


Inverted index of sets [on hold]



I have four sets:


A = {0, 2, 4, 9}
B = {2, 6, 9}
C = {0, 4}
D = {1, 4, 6}



How to determine the inverted index of the sets?



Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.





What is the inverted index of a set?
– ducminh
Jul 1 at 6:35





What do you mean?
– RedEyed
Jul 1 at 6:35





Whats the desired output?
– U9-Forward
Jul 1 at 6:35





Please provide a Minimal, Complete, and Verifiable example
– U9-Forward
Jul 1 at 6:38





I'm not handling this topic so I cannot tell you what exactly it is. I've heard about inverted index on sets and I was wondering how is that possible and how to compute it. Maybe you can help me understand. There aren't resources on the Internet that can explain so I can understand.
– user2944279
yesterday





1 Answer
1



You can't, python sets are unordered collections of unique objects, and do not support indexing.
More info here, and here

Popular posts from this blog

List of Kim Possible characters

Audio Livestreaming with Python & Flask

NSwag: Generate C# Client from multiple Versions of an API