Now that we've got all the basic Array operations out of the way, we're going to have a look atin-place Array operations. These are very important from an interviewing standpoint.
In-place Array operations are where we modify an Array,without creating a new Array. We've already seen some examples of this: inserting and removing items by shifting existing items along. There are many other situations where they come up though, so we will look at a few of them now.