Sobes.tech
Junior — Senior

Finding the missing element in a shuffled array

livecode

Task condition

There is an ordered set of integers from 1 to N. One element has been removed, and the remaining numbers are shuffled in random order. It is necessary to find the removed number.