



'''simple docstring'''





def   a_   (		_UpperCAmelCase    :      list ,_UpperCAmelCase    :      int ,_UpperCAmelCase    :      int = 0 ,_UpperCAmelCase    :      int = 0				)    ->  int:
      __snake_case :   int													=    right or len(_UpperCAmelCase				) - 1
      if left > right:
            return -1
      elif list_data[left] == key:
            return left
      elif list_data[right] == key:
            return right
      else:
            return search(_UpperCAmelCase ,_UpperCAmelCase ,left + 1 ,right - 1				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()








'''simple docstring'''





from __future__ import annotations





def   a_   (		_UpperCAmelCase    :      list[int]				)    ->  bool:
      return len(set(_UpperCAmelCase				)				) == len(_UpperCAmelCase				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()



