summaryrefslogtreecommitdiff
path: root/progs/a201.py
blob: 5bccf71d85252fafc8a42b4756d20d4e193b9e53 (plain)
1
2
3
4
5
def count_Rotation(arr,n):   
    for i in range (1,n): 
        if (arr[i] < arr[i - 1]): 
            return i  
    return 0