1 test case is failing can you find the test case .
#include
using namespace std;
int main(){
int n;
cin>>n;
int *arr = new int[n];
for (int i = 0; i < n; ++i){
cin>>arr[i];
}
int i;
for(i = 0; i < n-1; i++)
{
if (arr[i] < arr[i + 1]){
break;
}
}
i++;
for (; i +1< n; ++i){
if(arr[i] > arr[i + 1]){
cout<<“false”;
return 0;
}
}
cout<<“true”;
return 0;
}