a) 5
b) 3
c) 1
d) 0
In how many comparisons does the array arr={1,4,2,3,5} gets sorted if we use sleep sort?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In how many comparisons does the array arr={1,4,2,3,5} gets sorted if we use sleep sort?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!