a) O(n*k)
b) O(n)
c) O(k)
d) O(n+k)
What is the space complexity of pigeonhole sort (k=range of input)?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the space complexity of pigeonhole sort (k=range of input)?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!