Stack

How to Check if a String Is a Palindrome Using Stack in Python

Submitted by razormist on

In this tutorial, we will learn how to program “How to Check if a String Is a Palindrome Using a Stack in Python.” The main objective is to determine whether a given string is a palindrome by utilizing stack operations. This tutorial will guide you step by step through the logic behind pushing and popping characters from a stack to verify the palindrome condition.

How to Reverse a Stack using Recursion Method in Python

Submitted by razormist on

In this tutorial, we will learn how to program “How to Reverse a Stack using Recursion Method in Python.” The main objective is to reverse the elements of a stack by applying a recursive approach instead of using iterative methods or additional data structures. This tutorial will guide you step by step through the logic and implementation of stack reversal using recursion, helping you understand how recursive function calls work in practice.

How to Implement Stack using Two Queues in Python

Submitted by razormist on

In this tutorial, we will learn how to program “How to Implement a Stack Using Two Queues in Python.” The objective is to implement stack operations using two queues. This tutorial will guide you step by step through the process of implementing stack operations. By the end of this tutorial, you will have a solid understanding of how to implement these tasks effectively in Python, helping you strengthen your problem-solving abilities and improve your coding skills.

How to Implement a Stack Using a Queue in Python

Submitted by razormist on

In this tutorial, we will learn "How to Implement a Stack using a Queue in Python". The objective is to apply the stack data structure principles. This guide will walk you step-by-step through the methods for building a stack using a queue. By the end, you will have a solid understanding of how to implement this effectively in Python, which will help strengthen your problem-solving abilities and improve your coding skills.

Basic Stack Operations, Introducing Properties of Object Oriented Programming using C++

Submitted by Arup Kr Goswami on
Hello, This is a code written in g++ platform. This shows basic stack operations, i.e Push, Pop & Traverse. It is done by using properties of Object Oriented Programming (OOPs). Hope, it will help others. Don't forget to like this page.

Linked List and Stack implementation in C

Submitted by deepak.gupta150 on
Student management system coded in C. This application is created to demonstrate Linked list and Stack implementation using C. Stack - In automated stockroom, initially the user has to provide the quantity of retailers to be taken from the truck and then the program will prompt the user to add the product id as well bin id for the respective retailers and then after scanning all the ID’s program