Sorted array 1 test case failed

pls help which case i am forgetting

hey @shreyansh320, please share the code saved in Coding blocks ide


sorted ==true
not sorted == false
acc to ques

hey @shreyansh320, in line no 4 make it <= instead of <.

1 Like

hey @shreyansh320 , if your query is resolved. Please mark this doubt as resolved and rate me on the basis of your experience.
rating option will appear when to mark this doubt as resolved