




"""simple docstring"""







import sys





def     __snake_case   (							_lowercase ,_lowercase						):


    """simple docstring"""







    if not numbers:
        return 0
    if target == 0 and target in numbers:
        return 0
    if not isinstance(_lowercase ,(list, tuple)						) or not all(
        isinstance(_lowercase ,_lowercase						) for number in numbers						):
        raise ValueError('''numbers must be an iterable of integers'''						)

    UpperCamelCase										=  UpperCamelCase										=  UpperCamelCase										=  0
    UpperCamelCase										=  sys.maxsize

    while right < len(_lowercase						):
        curr_sum += numbers[right]
        while curr_sum >= target and left <= right:
            UpperCamelCase										=  min(_lowercase ,right - left + 1						)
            curr_sum -= numbers[left]
            left += 1
        right += 1

    return 0 if min_len == sys.maxsize else min_len





"""simple docstring"""







class 							snake_case_ :







   """simple docstring"""




   def __init__(		self					,				lowerCamelCase_=None)							->      Tuple:
       UpperCamelCase										=  data
       UpperCamelCase										=  None







   def __repr__(		self)							->      Union[str, Any]:
       UpperCamelCase										=  ''''''
       UpperCamelCase										=  self
       while temp:
           string_rep += F'<{temp.data}> ---> '
           UpperCamelCase										=  temp.next
       string_rep += "<END>"
       return string_rep





def     __snake_case   (							_lowercase						):


    """simple docstring"""







    if not elements_list:
        raise Exception('''The Elements List is empty'''						)

    # Set first element as Head
    UpperCamelCase										=  Node(elements_list[0]						)
    UpperCamelCase										=  head
    # Loop through elements from position 1
    for data in elements_list[1:]:
        UpperCamelCase										=  Node(_lowercase						)
        UpperCamelCase										=  current.next
    return head


SCREAMING_SNAKE_CASE_      =					[1, 3, 5, 32, 44, 12, 43]
print(f'List: {list_data}')
print('Creating Linked List from List.')
SCREAMING_SNAKE_CASE_      =					make_linked_list(list_data)
print('Linked List:')


print(linked_list)