Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
You are given a list of whole numbers in ascending order. You need to find which numbers are missing in the sequence.
Create a program that takes in a list of numbers and outputs the missing numbers in the sequence separated by spaces.
The first input denotes the length of the list (N). The next N lines contain the list elements as integers.
A string containing a space-separated list of the missing numbers.
5
2
4
5
7
8
3 6
The input list is missing the numbers 3 and 6.
| Language | Solution |
|---|---|
| C | not available |
| CPP | not available |
| C# | not available |
| Python | available |
| Java | not available |
| Ruby | not available |
| Swift | not available |