def isRepresentingBST(self, arr, N):
    for i in range(1, N):
        if arr[i] <= arr[i - 1]:
            return 0
    return 1

3b4b94c98e5210e6554a461d0cb63d03166d4237
<mask token>

def isRepresentingBST(self, arr, N):
    for i in range(1, N):
        if arr[i] <= arr[i - 1]:
            return 0
    return 1
