Behind The Scenes
How do you find the missing number in a given integer array of 1 to 100?
Question: How do you find the missing number in a given integer array of 1 to 100? (The code snippets throughout are in Kotlin.) First, I would sort the array to ensure that the numbers are in order of 1 to 100. Then I would write a loop that ensures Read more…