Ugh, I hate to be a pain, but since `delete_at` is O(n), this method is going to be O(n*m), where n is the length of the array and `m` is the number of items removed. Better than using `delete_at` would be to track how many items are removed, and shift each item that many places forward. And then at the end just remove the last `m` elements from the array.