
"""simple docstring"""





from __future__ import annotations



def 						_lowerCAmelCase				(				UpperCamelCase_  ,				UpperCamelCase_				):
		__SCREAMING_SNAKE_CASE            = 0
		__SCREAMING_SNAKE_CASE            = len(UpperCamelCase_				) - 1

		while i < j:
				if nums[i] + nums[j] == target:
						return [i, j]
				elif nums[i] + nums[j] < target:
						__SCREAMING_SNAKE_CASE            = i + 1
				else:
						__SCREAMING_SNAKE_CASE            = j - 1

		return []


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							print(F"""{two_pointer([2, 7, 11, 15], 9) = }""")






"""simple docstring"""





from ..utils import DummyObject, requires_backends
class 						SCREAMING_SNAKE_CASE_ (						metaclass=__a ):




		"""simple docstring"""





		__lowercase							:  Tuple						   =		['''keras_nlp''']




		def __init__(     self							,  *lowerCAmelCase__							,  **lowerCAmelCase__):
				requires_backends(self							,  ["""keras_nlp"""])




