Hi,
There is bug in the problem description of question 2 guvi-learning-path .
The problem is with your sample input description itself. Below is what mentioned on your website:
Input Description:
You are given with the length of array ‘n’. followed by ‘n’ space separated numbers.
It should be instead:
Input Description:
You are given with the length of array ‘n’. followed by ‘n’ space separated numbers in the next line.
Sample Input should be:
5
1 7 11 16 19
But instead:
5 1 7 11 16 19
So, please update the problem statement.
Thank you.