阅读背景:

字符串数组 - 唯一值的实例

来源:互联网 

I wrote a program that loops through a string array and prints the unique words and their occurrences, and then prints them to a file. This part works perfectly, but I'm having trouble figuring out how to get the total count of unique words. I have a feeling I need to create an int array for a counter, but I'm not exactly grasping how to do this. Unfortunately I am NOT allowed to use Hashmap, Sets, or Lists; have to stick with Arrays. I wrote a program that loops through a string a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: