Pergunta de entrevista da empresa PTC

Optimal program to find the missing element form an array of numbers from 1 to 100. Some puzzles from GFG.

Resposta da entrevista

Sigiloso

7 de ago. de 2020

Calculate sum of first n natural numbers using formula and subtract the sum of the elements of input array,which would give the missing number

1