LIFO on circular array


(nawaz) #1

How does this work shuold we treat circular array as buffer?? Still can we perform LIFO on it as per concepts FIFO is the right way


(Ali Koyuncu) #2

I haven’t use circular array before, but when I see LIFO and FIFO it seemed to me neither one is correct. There is no first or last in a circle. Let’s wait what others say.