Video for new features | Send bugs to [email protected] | Clear cache of website for login issues
Skip to content

takeUforward

Change Theme
Change Theme
  • Striver’s SDE Sheet
  • Striver’s A2Z DSA Course/Sheet
  • Striver’s DSA Playlists
    • Patterns (Beginner)
    • Arrays Series
    • Tree Series
    • Graph Series
    • DP Series
  • CS Subjects
    • SDE Core Sheet
    • Operating Systems
    • Computer Networks
  • Interview Prep Sheets
    • Blind 75
    • TCS NQT Coding Sheet
    • Interview Experience
    • Interview Prep Roadmap
  • Striver’s CP Sheet

Category: Stack

July 11, 2022 Arrays / Data Structure / Stack

Implement K stacks in a single Array

Problem Statement:  Design a data structure to implement ‘N’ stacks using a single array of size ‘S’. It should support

Continue reading
June 10, 2022 Arrays / Data Structure / Stack

Two stacks in an array

Problem Statement: You need to try implementing 2 stacks in a single array. Example: push1(10): Insert 10 in stack1 push2(21):

Continue reading
May 7, 2022 Arrays / Data Structure / Stack

Evaluation of Postfix Expression

Given a postfix expression Containing only operators [+, – , *, / ]  and numbers. Postfix expression is given the

Continue reading
March 20, 2022 Data Structure / Stack

Evaluation of Prefix expression

Problem Statement: Evaluation of prefix expression step by step. Examples: Example 1: Input: * 5 4 Output: 20 Explanation: Refer

Continue reading
March 16, 2022 Data Structure / Stack

Infix to Prefix

Problem Statement: Given an infix expression, Your task is to convert the given infix expression to a prefix expression. Examples:

Continue reading
March 16, 2022 Data Structure / Stack

Infix to Postfix

Problem Statement: Given an infix expression, Your task is to convert the given infix expression to a postfix expression. Examples:

Continue reading
February 20, 2022 Data Structure / Stack

Applications of Stack

What is a stack? Stack is a linear data structure in which elements are stored in a certain order. It

Continue reading
February 20, 2022 Stack

Stack in Data Structure

What is Stack? A stack is a non-primitive linear data structure. it is an ordered list in which the addition

Continue reading
December 12, 2021 Binary Tree / Data Structure / Recursion / Stack

Post-Order Traversal Of Binary Tree

Problem Statement: Postorder Traversal of a binary tree. Write a program for the postorder traversal of a binary tree. Example: Disclaimer:

Continue reading
December 7, 2021 Arrays / Data Structure / Stack

Area of largest rectangle in Histogram

Problem Statement: Given an array of integers heights representing the histogram’s bar height where the width of each bar is

Continue reading

Posts navigation

1 2 Next Posts»

Recent Posts

  • 2023 – Striver’s SDE Sheet Challenge
  • Top Array Interview Questions – Structured Path with Video Solutions
  • Longest Subarray with sum K | [Postives and Negatives]
  • Count Subarray sum Equals K
  • Binary Tree Representation in Java

Accolite Digital Amazon Arcesium arrays Bank of America Barclays BFS Binary Search Binary Search Tree Commvault CPP DE Shaw DFS DSA Self Paced google HackerEarth Hashing infosys inorder Interview Experience Java Juspay Kreeti Technologies Morgan Stanley Newfold Digital Oracle post order recursion Samsung SDE Core Sheet SDE Sheet Searching set-bits sorting Strivers A2ZDSA Course sub-array subarray Swiggy takeuforward TCS TCS CODEVITA TCS Ninja TCS NQT VMware XOR

TUF Logo

Don't have an account?

TUF Logo

Already have an account?

Copyright © 2023 takeuforward | All rights reserved