Here, in the pop function, we move the front pointer when pop is called but the element stays. How do we delete the element from array completely like stack if we want too?
Also, as per the example, there are 2 pop then a push, so will push(7) just overwrite the 1 at index 0 here?