Sobes.tech
Junior — Senior

Determining the missing element in an array

livecode

Task condition

Given an array containing all numbers from 1 to 100 in arbitrary order, except for one missing value. It is required to determine which number is missing with the fewest possible passes through the array.