what is this statement saying?

Consider the problem of determining whether an arbitrary sequence x1, x2…….xN of N numbers
contains repeated occurrences of some number.
You should find a way of finding if a number was repeated in a sequence of numbers
eg:
sequence: 1 2 3 4 5 6 7 8 4 9
look for: 4
result: yes (repeated)
look for: 7
result: no (only once)
k.. wow.. m stupid..

thanx for you help.. :)
Topic archived. No new replies allowed.