I want to know which data structure will be good in my case.Please guide me. Following are the requirements. As shown in the fig below, on the basis of three values A, B and C ( where A will be an integer value and B , C will be characters). The left side table will all have unique entries. I want to store two values accepting rule number and true/false.Thus, for each unique value of A,B and C I want to store two values (accepting rule number and true/false) corresponding to them.One important thing is that accepting rule number can be one or more (size is not fixed). Secondly, table length can go upto 65025 or above.

![enter image description here](https://i.stack.imgur.com/rhTvX.png)

P.S: I asked this type of question previously but this time the scenario is little different.