1
3
1 3
2 5
6 9
are the values in first column in increasing order int i/ps
1
3
1 3
2 5
6 9
are the values in first column in increasing order int i/ps
Do not assume anything that is not mentioned in the problem statement.
Is increasing or decreasing input order mentioned in the problem statement anywhere ?
If it is not mentioned then most likely there are no such scenarios.
Do not assume something not written in the problem statement.