Pregunta de entrevista de CoinDCX

Implement fix size queue using arrays. Remove the element from last and push each element and update the first element with number pushed. Eg. Given array [ 3,4,2,7,8 ] push a number 0. Resultant array [0,3,4,2,7]