Space Complexity of inbuilt Arrays.sort() function

what is the space complexity of inbuilt Arrays.sort() function

space complexity of inbuilt Arrays.sort() function is O(1)

1 Like