


from __future__ import annotations



def       lowerCAmelCase			(		lowerCAmelCase_			, lowerCAmelCase_			)->			int:
				lowerCAmelCase_					,	lowerCAmelCase_			:   Tuple     					=					0, len(lowerCAmelCase_			) - 1
				while start_ind <= end_ind:
								if array[start_ind] == search_item:
												return start_ind
								elif array[end_ind] == search_item:
												return end_ind
								else:
												start_ind += 1
												end_ind -= 1
    # returns -1 if search_item is not found in array
				return -1


if __name__ == "__main__":
						print(double_linear_search(list(range(100)), 40))



from transformers import PretrainedConfig







class 					snake_case__(				UpperCAmelCase__				):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__   :	Optional[int]       =				"""custom"""




						def __init__(					self ,    __lowercase=1 ,    **__lowercase				)       ->     Dict:
										lowerCAmelCase_			:   List[Any]     					=					attribute
										super().__init__(**__lowercase				)







class 					snake_case__(				UpperCAmelCase__				):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__   :	int       =				"""custom"""




						def __init__(					self ,    __lowercase=1 ,    **__lowercase				)       ->     List[Any]:
										lowerCAmelCase_			:   Optional[Any]     					=					attribute