Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stack Data Structure in Java

This repository contains Java implementations of the Stack Data Structure and several important stack-based interview problems.

Implementations

  • Stack using Array
  • Stack using ArrayList
  • Stack using Linked List

Problems Implemented

  • Valid Parenthesis
  • Duplicate Parenthesis
  • Next Greater Element
  • Previous Greater Element
  • Stock Span Problem
  • Daily Temperature
  • Asteroid Collision
  • Remove K Digits
  • Min Stack
  • Largest Rectangle in Histogram
  • Trapping Rain Water
  • Reverse Stack
  • Reverse String
  • Push Element to Bottom
  • Sort a Stack

Concepts Covered

  • Stack Data Structure
  • Monotonic Stack
  • Recursion with Stack
  • Interview Problem Solving

Language

Java

Author

Jeevan

About

Java implementations of Stack data structure and important stack-based interview problems such as Next Greater Element, Stock Span, Trapping Rain Water, Largest Rectangle in Histogram, and more.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages