List view
A

check if array is sorted and rotated\check-if-array-is-rotated-and-sorted.cpp

No issues found

Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed?’

– Steve McConnell