




from __future__ import annotations



def        __a							(  __UpperCAmelCase		:						list      ) ->					Optional[int]:
							"""simple docstring"""




							if len(__UpperCAmelCase      ) == 0:
														return []
							lowerCamelCase_			:    str   						=      min(__UpperCAmelCase      ), max(__UpperCAmelCase      )
							lowerCamelCase_			:    Union[str, Any]   						=      int(max_value - min_value      ) + 1
							lowerCamelCase_			:    list[list]   						=      [[] for _ in range(__UpperCAmelCase      )]

							for i in my_list:
														buckets[int(i - min_value      )].append(__UpperCAmelCase      )

							return [v for bucket in buckets for v in sorted(__UpperCAmelCase      )]


if __name__ == "__main__":
	from doctest import testmod

	testmod()
	assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
	assert bucket_sort([0, 1, -10, 15, 2, -2]) == [-10, -2, 0, 1, 2, 15]








"""simple docstring"""





import numpy as np



def 					lowerCAmelCase_      (   SCREAMING_SNAKE_CASE							:				np.array ):


							'''simple docstring'''







							return 1 / (1 + np.exp(-vector ))


if __name__ == "__main__":
							import doctest

							doctest.testmod()




