I have a database table of topics that changes frequently. Let's say the table has topic_id and topic in it.
In my code, I need to keep count of how many occurrences are used in each topic.
Whats a good dynamic array datatype to store the counts of each topic?
Should I use arrayList?
An example of how to use it would be helpful.