
'''simple docstring'''






def 		SCREAMING_SNAKE_CASE__					(							_SCREAMING_SNAKE_CASE  ,					_SCREAMING_SNAKE_CASE  ):
		lowerCAmelCase_   :       int    							=len(_SCREAMING_SNAKE_CASE  )
		lowerCAmelCase_   :       int    							=len(_SCREAMING_SNAKE_CASE  )
		lowerCAmelCase_   :       int    							=(
		    first_input_list_length
		    if first_input_list_length > second_input_list_length
		    else second_input_list_length
		)
		lowerCAmelCase_   :       list    							=[]
		for char_count in range(_SCREAMING_SNAKE_CASE  ):
				if char_count < first_input_list_length:
						output_result_list.append(first_input_list[char_count]  )
				if char_count < second_input_list_length:
						output_result_list.append(second_input_list[char_count]  )

		return output_result_list


if __name__ == "__main__":
							print(alternative_list_arrange(['''A''', '''B''', '''C'''], [1, 2, 3, 4, 5]), end=''' ''')








'''simple docstring'''






from __future__ import annotations







def 		SCREAMING_SNAKE_CASE__					(							_SCREAMING_SNAKE_CASE  ,					_SCREAMING_SNAKE_CASE  ,					_SCREAMING_SNAKE_CASE  ):
		if len(_SCREAMING_SNAKE_CASE  ) == 0:
				raise ValueError('''find_min() arg is an empty sequence'''  )
		if (
		    left >= len(_SCREAMING_SNAKE_CASE  )
		    or left < -len(_SCREAMING_SNAKE_CASE  )
		    or right >= len(_SCREAMING_SNAKE_CASE  )
		    or right < -len(_SCREAMING_SNAKE_CASE  )
		):
				raise IndexError('''list index out of range'''  )
		if left == right:
				return nums[left]
		lowerCAmelCase_   :       Dict    							=(left + right) >> 1  # the middle
		lowerCAmelCase_   :       Optional[int]    							=find_min(_SCREAMING_SNAKE_CASE  ,					_SCREAMING_SNAKE_CASE  ,					_SCREAMING_SNAKE_CASE  )  # find min in range[left, mid]
		lowerCAmelCase_   :       Any    							=find_min(_SCREAMING_SNAKE_CASE  ,					mid + 1  ,					_SCREAMING_SNAKE_CASE  )  # find min in range[mid + 1, right]

		return left_min if left_min <= right_min else right_min


if __name__ == "__main__":
							import doctest

							doctest.testmod(verbose=True)






