Skip to content

shuvodas0/stack

Repository files navigation

stack

Write a program to operations on a stack.

Python Stack Implementations and Applications

This repository is dedicated to providing clear, well-documented, and tested implementations of the stack data structure in Python. It also includes solutions to classic computer science problems that can be solved using stacks.

This project is beginner-friendly and participates in Hacktoberfest.

What's Included?

  • Implementations: Different ways to build a stack from the ground up.
    • Using a Python list.
    • Using a custom linked list.
    • A special "Min Stack" with O(1) get_min() functionality.
  • Applications: Practical examples of how stacks are used.
    • Checking for balanced parentheses in an expression.
    • Evaluating postfix (Reverse Polish Notation) expressions.

How to Contribute

Contributions are welcome! You can contribute by:

  1. Adding a new stack-based algorithm or application.
  2. Improving the performance or clarity of existing code.
  3. Adding more unit tests.
  4. Improving documentation.

Please create a separate branch for your feature and submit a pull request with a clear description of your changes.

About

Write a program to operations on a stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages