Write Pop
Level 6: Stack & queue. Pop returns the value at Top, then moves Top down. Empty is the case Top = -1, before you read the array.
Level 6: Stack & queue. Pop returns the value at Top, then moves Top down. Empty is the case Top = -1, before you read the array.