''' Write a function in Python to find the forth largest element in an array. What is the order of complexity? ''' def find_fourth_largest(arr): if len(arr) < 4: return None arr = sorted(arr, reverse=True) return arr[3]