Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

Finding Duplicate Strings in an Array

$
0
0
Hi all,

I'm working on an assignment and I'm about 80% done. I have to create a program that asks for 10 random words to be inputted by a user. So far, so good.

Then the program has to alert the user if they enter a word that they have entered before, thus not counting towards the ten word total.

My question is this: Do I use a linear search? I'm stuck at finding the dupes.

I came across this thread but I didn't really get the answer I'm looking for.

Any suggestions?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>