An algorithm has a time complexity of O(n!). What is its space complexity?
O(1)
O(n!)
O(n)
O(log n)

Data Structures and Algorithms Exercises are loading ...