Closed prantaneel closed 3 years ago
Index of array in stack implementation (C++) goes out of bounds when pop function is called on empty stack.
Exception handling to avoid out of bounds array accesses.
Thanks for the suggestion @soulado I'll fix it.
Issue Description:
Index of array in stack implementation (C++) goes out of bounds when pop function is called on empty stack.
Suggested Fix:
Exception handling to avoid out of bounds array accesses.