9/6/2018 11:06:06 PM
//Fpharbhulourz/>😋😈🤓🇳🇬7 Answers
New Answerlet, s is the sum of the array you have. then, the missing will be: 5050-s let me explain.... the sum of the numbers from 1 to 100 will be.. ((1+100)*100)/2=5050.. Now if s is the sum of the numbers you have, you can simply find the missing number by substracting s from 5050.
Another method of finding the missing number of an array of 1-100 https://code.sololearn.com/cIidenkA3xHs/?ref=app
Here you can find the code to find multiple missing numbers in an array Modified code of NimWing Yuan Thanks https://code.sololearn.com/cIuh1i1QiSS9/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message