Microsoft interview question

If you have an array of strings with numbers on it, return the integer value.