LIFO on circular array

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

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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.