

from __future__ import annotations





def      A__					(			__A  :						Dict     ,				__A  :						Any			)					->Dict:
      __A    =0
      __A    =len(snake_case__			) - 1

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

      return []


if __name__ == "__main__":
   import doctest

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










"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowerCAmelCase       =				{
    "configuration_timesformer": ["TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP", "TimesformerConfig"],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							_lowerCAmelCase       =				[
							    "TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
							    "TimesformerModel",
							    "TimesformerForVideoClassification",
							    "TimesformerPreTrainedModel",
							]

if TYPE_CHECKING:
							from .configuration_timesformer import TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, TimesformerConfig

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_timesformer import (
														    TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    TimesformerForVideoClassification,
														    TimesformerModel,
														    TimesformerPreTrainedModel,
														)

else:
							import sys

							_lowerCAmelCase       =				_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)

