Numbers array - thinking question

Question posted in Computer Software on 08 2009
Rate question difficulty level 0 Votes
In an array of size n there are numbers that can repeat each other.
You need to write a program that checks whether all the numbers from 1-n appear in this array.

For example:










3


6


5


2


1












3


2


5


2


1

The result will be false


 











3


2


6


5


4


1

The result will be true
 
 
 
Add an answer*
 
Email
Location: Israel
developer c# java software
Now hiring!
Intuit 
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------