Please write a program which finds the missing number in a sequential series of numbers. The program should:
- Accept a flat file as input.
- Each new line will contain a set of sequential numbers with one number missing.
- Each series will be comma delimited and in a random order
- Output the missing number for each series
1,2,3,4,5,6,7,8,9,10,12
24,26,27,29,28
1,2,4,5
99,100,101,102,103,104,105,107
109,105,107,108,106,110,112,111,118,116,115,114,117
11
25
3
106
113
Please use whatever technology and techniques you feel are applicable to solve the problem. We suggest that you approach this exercise as if this code was part of a larger system. The end result should be representative of your abilities and style.
Please fork this repository. When you have completed your solution, please issue a pull request to notify us that you are ready.
Have fun.