Problem: Array of 100 integers between 0 and 100. One integer is doubled, find out which. Question: Which methods exist and how do they compare?
Anonymous
sum on N numbers in (N*N+1)/2. Add all the numbers and find out how much it differs from this sum
Check out your Company Bowl for anonymous work chats.