0% found this document useful (0 votes)
2 views24 pages

Stack & Queue

The document outlines various data structures and algorithms related to stacks and queues, including their implementations using linked lists and each other. It also addresses several problems such as Valid Parenthesis, Asteroid Collision, and the Largest Rectangle in Histogram. The author, Karun Karthik, provides a comprehensive overview of these concepts.

Uploaded by

jetovak707
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views24 pages

Stack & Queue

The document outlines various data structures and algorithms related to stacks and queues, including their implementations using linked lists and each other. It also addresses several problems such as Valid Parenthesis, Asteroid Collision, and the Largest Rectangle in Histogram. The author, Karun Karthik, provides a comprehensive overview of these concepts.

Uploaded by

jetovak707
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Stacks & Queues

- Karun Karthik

0. Introduction
1. Implementation of stack using Linkedlist
2. Implementation of queue using Linkedlist
3. Implementation of stack using queue
4. Implementation of queue using stack
5. Valid Parenthesis
6. Asteroid Collision
7. Next Greater Element
8. Next Smaller Element
9. Stock Span Problem
10. Celebrity Problem
11. Largest Rectangle in Histogram
12. Sliding Window Maximum

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

You might also like