Skip to content

Refactored Codes

A software engineering website.

  • Interview Questions
  • Functional Programming
  • Concurrency
  • java.util.function
  • Data Structures
  • C Coding
  • Design Patterns
  • Spring Framework
  • Java
  • Operating System

Tag: stack

Home ⁄ Posts Tagged "stack"

September 14, 2019

Convert infix equation to postfix in java

Anurag Anand DataStructures, Stack datastructures, Java, stack

We know stack is first in and last out. The first to go inside a stack is going to be the last to come out of it. So, the aloglrithm to convert a infix to postfix is simple. We print all the operands. Operands are something which are not mathematical symbols and does not represent […]

Read more
January 21, 2019

Implementing Stack Datastructure using arrays.

Anurag Anand DataStructures, Java, Stack datastructures, Java, stack

Stack is a way of accessing data, Last In First Out (LIFO). It has nothing to do with underlying memory structure, whether it is an array or a linked list or a tree or whatever. If you are accessing the data in LIFO fashion, then it is a stack. Stack is an abstraction, it is a concept […]

Read more
copyright 2018 - 2021