





"""simple docstring"""


from .hash_table import HashTable






class        lowercase__ (      __SCREAMING_SNAKE_CASE  ):

			"""simple docstring"""







			def __init__(			self	,      *_A	,      **_A						):






									'''simple docstring'''







									super().__init__(*_A	,      **_A						)







			def      _a			(			self	,      _A	,      _A=None						):






									'''simple docstring'''







									UpperCamelCase							:		Union[str, Any]							      = 1
									UpperCamelCase							:		Optional[int]							      = self.hash_function(key + i * i						)

									while self.values[new_key] is not None and self.values[new_key] != key:
															i += 1
															UpperCamelCase							:		List[str]							      = (
															    self.hash_function(key + i * i						)
															    if not self.balanced_factor() >= self.lim_charge
															    else None
															)

															if new_key is None:
																					break

									return new_key










"""simple docstring"""


def     UpperCamelCase       (SCREAMING_SNAKE_CASE    ):
						UpperCamelCase							:		Tuple							      = 0
						for plain_chr in plain_text:
												UpperCamelCase							:		List[str]							      = (
												    ord(SCREAMING_SNAKE_CASE    ) + (hash_value << 6) + (hash_value << 16) - hash_value
												)
						return hash_value



