Skip to main content

#Stack

Browse articles tagged with #Stack

  • DSA Problems

    Implement Stack using Queues

    Learn to implement a LIFO stack data structure using two queues with efficient push and pop operations.

  • DSA Problems

    Valid Parentheses Algorithm Solution

    Complete Java implementation for validating balanced parentheses using stack data structure with O(n) time and space complexity.

  • DSA Problems

    Basic Calculator Implementation and Evaluation

    Complete Java solution for basic calculator with stack-based evaluation, handling parentheses and operator precedence.

  • DSA Problems

    Largest Rectangle in Histogram Algorithm Solution

    Complete Java implementation for finding the largest rectangular area in a histogram with optimal time and space complexity analysis.

  • DSA Problems

    Daily Temperatures Problem Solution

    Complete Java implementation for daily temperatures problem with stack-based approach and optimal time complexity analysis.

  • DSA Problems

    Design a Min Stack with O(1) Time Complexity

    Learn to implement a min stack that supports push, pop, and getMin operations in constant time using auxiliary stack technique.

  • DSA Patterns

    Monotonic Deque Implementation and Applications

    Complete Java solution for monotonic queue using deque with detailed complexity analysis and practical applications.

  • DSA Patterns

    Expression Evaluation Algorithms and Techniques

    Comprehensive guide to evaluating mathematical expressions using stack-based approaches, infix to postfix conversion, and operator precedence handling.

  • DSA Patterns

    Valid Parentheses Problem Solution

    Complete Java implementation for validating balanced parentheses using stack data structure with time and space complexity analysis.

Stay in the Loop

Get curated DSA patterns, coding problems, frontend and backend LLD/HLD, and AI/ML System Design insights delivered straight to your inbox. No spam, just focused interview and engineering content.