What is the worst-case time complexity of the following Python code snippet? ```python def find_element(arr, target): for element in arr: if element == target: return True return False ```
O(n)
O(log n)
O(1)
O(n^2)

Advanced Data Structures Exercises are loading ...