


"""simple docstring"""







from __future__ import annotations

from collections.abc import Iterable, Iterator
from dataclasses import dataclass

lowerCAmelCase__      				=   (3, 9, -11, 0, 7, 5, 1, -1)
lowerCAmelCase__      				=   (4, 6, 2, 0, 8, 10, 3, -2)


@dataclass
class       SCREAMING_SNAKE_CASE__				:
       """simple docstring"""


       a  :				int
       a  :				Node | None


class       SCREAMING_SNAKE_CASE__				:
       """simple docstring"""


       def __init__(						self		,     snake_case__						):






         """simple docstring"""





         lowerCAmelCase     :     Node | None								=							None
         for i in sorted(snake_case__		,     reverse=snake_case__						):
           lowerCAmelCase     :     str								=							Node(snake_case__		,     self.head						)

       def __iter__(						self						):






         """simple docstring"""





         lowerCAmelCase     :     Union[str, Any]								=							self.head
         while node:
           yield node.data
           lowerCAmelCase     :     Any								=							node.next_node

       def __len__(						self						):






         """simple docstring"""





         return sum(1 for _ in self						)







       def __str__(						self						):






         """simple docstring"""





         return " -> ".join([str(snake_case__						) for node in self]						)

def 					a__			(				SCREAMING_SNAKE_CASE    :    SortedLinkedList				,      SCREAMING_SNAKE_CASE    :    SortedLinkedList				):


  '''simple docstring'''







  return SortedLinkedList(list(SCREAMING_SNAKE_CASE				) + list(SCREAMING_SNAKE_CASE				)				)


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     lowerCAmelCase__      				=   SortedLinkedList
     print(merge_lists(SSL(test_data_odd), SSL(test_data_even)))






'''simple docstring'''

def      UpperCamelCase_						(					snake_case_       :       int						,		snake_case_       :       int      )					->     str:






 '''simple docstring'''

 if a < 0 or b < 0:
  raise ValueError("""the value of both inputs must be positive"""      )

 __lowerCAmelCase											=						str(bin(snake_case_      )      )[2:]  # remove the leading "0b"
 __lowerCAmelCase											=						str(bin(snake_case_      )      )[2:]  # remove the leading "0b"

 __lowerCAmelCase											=						max(len(snake_case_      )						,		len(snake_case_      )      )

 return "0b" + "".join(
     str(int(char_a == """1""" and char_b == """1"""      )      )
     for char_a, char_b in zip(a_binary.zfill(snake_case_      )						,		b_binary.zfill(snake_case_      )      )      )


if __name__ == "__main__":
 import doctest

 doctest.testmod()






