1. Given a sequence of numbers = 9 18 16 14 17 6 16 10 3 3 20 5 17 5, if you are going to build heap with 3 percolations, the sequence becomes =
2. Given arandom sequence of numbers = 17 14 20 0 9 16 10 14 10 11 2 8,you are asked to build its heap, then perform 3 repetitions of swaps and reheaps.The sequence becomes =
3. Given aheap sequence of numbers = 20 16 18 13 8 16 3 11 5 3 6 14 4, you are asked toswap two end-point numbers and reheap. Repeat 4 times, the sequence becomes =
4. Given a sequence of numbers = 20 20 2 11 3 11 2 8 2 2 4 12, if you are going to percolate down from the 2nd number , the sequence becomes =
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here