






def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			list[int]    )						->      list[list[int]]:





    """simple docstring"""

    __A         =	[]
    if len(__lowercase    ) == 1:
        return [nums.copy()]
    for _ in range(len(__lowercase    )    ):
        __A         =	nums.pop(0    )
        __A         =	permute(__lowercase    )
        for perm in permutations:
            perm.append(__lowercase    )
        result.extend(__lowercase    )
        nums.append(__lowercase    )
    return result



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			List[str]    )						->      List[Any]:





    """simple docstring"""

    def backtrack(__lowercase   :			Any    ):
        if start == len(__lowercase    ) - 1:
            output.append(nums[:]    )
        else:
            for i in range(__lowercase			,				len(__lowercase    )    ):
                __A    ,	__A         =	nums[i], nums[start]
                backtrack(start + 1    )
                __A    ,	__A         =	nums[i], nums[start]  # backtrack

    __A         =	[]
    backtrack(0    )
    return output


if __name__ == "__main__":
  import doctest

  # use res to print the data in permute2 function
  __a      :       Dict				  =   permutea([1, 2, 3])
  print(res)
  doctest.testmod()












def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			str = "The quick brown fox jumps over the lazy dog"			,				)						->      bool:





    """simple docstring"""

    __A         =	set()

    # Replace all the whitespace in our sentence
    __A         =	input_str.replace(""" """			,				""""""    )
    for alpha in input_str:
        if "a" <= alpha.lower() <= "z":
            frequency.add(alpha.lower()    )
    return len(__lowercase    ) == 2_6



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			str = "The quick brown fox jumps over the lazy dog"			,				)						->      bool:





    """simple docstring"""

    __A         =	[False] * 2_6
    for char in input_str:
        if char.islower():
            __A         =	True
        elif char.isupper():
            __A         =	True
    return all(__lowercase    )



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			str = "The quick brown fox jumps over the lazy dog"			,				)						->      bool:





    """simple docstring"""

    return len({char for char in input_str.lower() if char.isalpha()}    ) == 2_6



def 			_SCREAMING_SNAKE_CASE						( )						->      None:





    """simple docstring"""

    from timeit import timeit

    __A         =	"""from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest"""
    print(timeit("""is_pangram()"""			,				setup=__lowercase    )    )
    print(timeit("""is_pangram_faster()"""			,				setup=__lowercase    )    )
    print(timeit("""is_pangram_fastest()"""			,				setup=__lowercase    )    )
    # 5.348480500048026, 2.6477354579837993, 1.8470395830227062
    # 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  benchmark()




