Function to return the length of the largest subarray whose every element is a autobiographical number
def checkArray ( arr , n ) : NEW_LINE INDENT current_length = 0 ; NEW_LINE max_length = 0 ; NEW_LINE DEDENT