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

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 27422

Trending Articles