It’s quite interesting and it’s easy to get tired even if you just play half an hour. Special thanks to Dong for GoPro.
Find one missing number from 1 to N Given an array of size N-1, containing integer numbers from 1 to N, but there is one number missing. Return the missing number. Analysis Assuming the array given is A, it’s easy to get N since we have the size of the array: N = A.length + 1. … Read more