0% found this document useful (0 votes)
44 views1 page

Stack and Array Data Structure Solutions

The document outlines various data structure and algorithm implementations and problems related to stacks and arrays. It includes topics such as stack implementation using arrays and linked lists, operations on stacks, and algorithms for removing duplicates and checking parentheses. Additionally, it covers problems like the stock span problem, next greater element, and maximum rectangular area in a histogram.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views1 page

Stack and Array Data Structure Solutions

The document outlines various data structure and algorithm implementations and problems related to stacks and arrays. It includes topics such as stack implementation using arrays and linked lists, operations on stacks, and algorithms for removing duplicates and checking parentheses. Additionally, it covers problems like the stock span problem, next greater element, and maximum rectangular area in a histogram.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

01.

Implement stack using array


02. Implement Stack using Linked List
03. Operations on Stack
04. Removing consecutive duplicates
05. Removing consecutive duplicates - 2
06. Parenthesis Checker
07. Implement two stacks in an array
08. Get min at pop
09. Delete middle element of a stack
10. Infix to Postfix
11. Evaluation of Postfix Expression
12. Stock span problem
13. Next Greater Element
14. Maximum Rectangular Area in a Histogram
15. The Celebrity Problem
16. Maximum of minimum for every window size

You might also like