In this assignment, you will be implementing your own array-based stack (ABS) and array-based queue (ABQ). What is a stack primarily used for in computer science?
a) FIFO operations
b) LIFO operations
c) Sorting algorithms
d) Dynamic memory allocation