Answer to Question heap-5

No, it does not work. You cannot delete part of an array. You must delete the entire array. See the next page on how to handle this kind of thing.