
'''simple docstring'''






from __future__ import annotations





def      UpperCAmelCase      (		lowerCamelCase_  :list[int]				,      lowerCamelCase_  :int ):







		'''simple docstring'''
		snake_case_		:							str			       =						0
		snake_case_		:							Optional[Any]			       =						len(lowerCamelCase_ ) - 1

		while i < j:
				if nums[i] + nums[j] == target:
						return [i, j]
				elif nums[i] + nums[j] < target:
						snake_case_		:							Optional[Any]			       =						i + 1
				else:
						snake_case_		:							int			       =						j - 1

		return []


if __name__ == "__main__":
							import doctest

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



'''simple docstring'''






def      UpperCAmelCase      (		lowerCamelCase_  :int ):







		'''simple docstring'''
		if num < 0:
				return False

		snake_case_		:							int			       =						num
		snake_case_		:							int			       =						0
		while num > 0:
				snake_case_		:							Tuple			       =						rev_num * 10 + (num % 10)
				num //= 10

		return num_copy == rev_num


if __name__ == "__main__":
							import doctest

							doctest.testmod()