code: 
  
  
  class 				__SCREAMING_SNAKE_CASE   :
  
  
        def __init__(							self							,						SCREAMING_SNAKE_CASE__=None		):
              lowercase			:   Tuple					   =		data
              lowercase			:   Tuple					   =		None
  
  
  
  
  
  
        def __repr__(							self		):
              lowercase			:   Any					   =		''''''
              lowercase			:   int					   =		self
              while temp:
                    string_rep += f"""<{temp.data}> ---> """
                    lowercase			:   List[str]					   =		temp.next
              string_rep += "<END>"
              return string_rep
  
  
  
  
  
  def 			__lowercase	(						_UpperCamelCase     )    ->List[Any]:
  
  
  
  
  
  
  
        """simple docstring"""
  
        if not elements_list:
              raise Exception('''The Elements List is empty'''     )
  
        # Set first element as Head
        lowercase			:   Optional[Any]					   =		Node(elements_list[0]     )
        lowercase			:   Tuple					   =		head
        # Loop through elements from position 1
        for data in elements_list[1:]:
              lowercase			:   Any					   =		Node(_UpperCamelCase     )
              lowercase			:   List[str]					   =		current.next
        return head
  
  
  __a   				=      [1, 3, 5, 32, 44, 12, 43]
  print(F'''List: {list_data}''')
  print('''Creating Linked List from List.''')
  __a   				=      make_linked_list(list_data)
  print('''Linked List:''')
  
  
  
  print(linked_list)
  
  
style_context: 
  
  
  __a   				=      [
      [0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
      [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
      [0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
      [0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0],
      [0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0],
      [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
      [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
      [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0],
  ]
  
  
  
  
  def 			__lowercase	(						_UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     )    ->bool:
  
  
  
  
  
  
  
        """simple docstring"""
  
        return 0 <= row < rows and 0 <= col < cols
  
  
  
  
  def 			__lowercase	(						_UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     )    ->int:
  
  
  
  
  
  
  
        """simple docstring"""
  
        lowercase			:   Optional[int]					   =		len(_UpperCamelCase     )
        lowercase			:   str					   =		len(mat[0]     )
        if is_safe(_UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     ) and (row, col) not in seen and mat[row][col] == 1:
              seen.add((row, col)     )
              return (
                  1
                  + depth_first_search(row + 1,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     )
                  + depth_first_search(row - 1,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     )
                  + depth_first_search(_UpperCamelCase,    col + 1,    _UpperCamelCase,    _UpperCamelCase     )
                  + depth_first_search(_UpperCamelCase,    col - 1,    _UpperCamelCase,    _UpperCamelCase     )
              )
        else:
              return 0
  
  
  
  
  def 			__lowercase	(						_UpperCamelCase     )    ->int:
  
  
  
  
  
  
  
        """simple docstring"""
  
        lowercase			:   set					   =		set()
  
        lowercase			:   Tuple					   =		0
        for row, line in enumerate(_UpperCamelCase     ):
              for col, item in enumerate(_UpperCamelCase     ):
                    if item == 1 and (row, col) not in seen:
                          # Maximizing the area
                          lowercase			:   Tuple					   =		max(_UpperCamelCase,    depth_first_search(_UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase,    _UpperCamelCase     )     )
        return max_area
  
  
  if __name__ == "__main__":
    import doctest
  
    print(find_max_area(matrix))  # Output -> 6
    doctest.testmod()
  
  