Question
Q2: Based on your Stack data structure, create two new methods getMin() and getMax(), the getMin() will return a min value of the Stack without removing it, the getMax() will return a max value without removing the item. Please implement the two methods in Linkedlist Stack and Array Stack, Please test the two methods i
Question image 1