# Stack

## Reverse Vowels of a String | LeetCode 345 | Python | Solution

Click here to see the problem details on LeetCode. Reverse a string is a pretty common type of problem. We all know how to reverse a string. But in this problem, we are not allowed to reverse the entire string. We have to reverse only vowels. We all know about vowels. Let’s see a visual […]

## Create Stack Data Structure Using JavaScript Array Method

I already have an article about it. Click here to see it. I am not going to details of it but the code implementation. Stack is a linear data structure. It follows the principle of Last In First Out, and which is also known as LIFO. There are mainly two operations in Stack. One is

## Stack | Data Structure

Introduction ‘Stack’ is an abstract and linear data structure and one of the most basic data structures in Computer Science. It’s easy to learn. We will be going to know how Stack works and its implementation. This blog is dedicated to know about Stack data structure. Concept First of all, let’s think about a real-life

## Reverse Only Letters | LeetCode 917 | Python | Solution

Click here to see the problem details. Problem Overview The problem description is pretty precise. It says that we have to return the reverse version of the given string. But we can only reverse letters. Characters that are not a letter stay in the same place. Only letters will change their position. Let’s see an

## 155. Min Stack | LeetCode | Solution

This problem is all about designing a stack data structure. Here is the problem link. See the detailed explanation there. To solve this problem, we have to write the most common stack operations. A stack is an abstract data structure. It’s Follow the LIFO (Last In First Out) rules. I hope you already know about

## Implementation of Stack Using Linked List and List – Code Snippet

The stack is a data structure. To implement a stack data structure, we can use both linked list or array. Below are examples of both types of implementation. Using Linked List Using Python List