Faling test case 1

code- https://ide.codingblocks.com/s/313312

for this input it is giving false but ans is true
5
2 2 2 2 2

at line no 9
correct condition is

if(arr[n]>=arr[n-1]){
			return true;
		}

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved