Showing posts with label Java_Stack_coding_Question. Show all posts
Showing posts with label Java_Stack_coding_Question. Show all posts

May 4, 2022

Question 44 : Sort an stack using another stack

 You need to sort an stack using another stack. You can use push and pop operation of stack to do so,

Queue

Question 43: Implement a stack using two queues.

You need to use two queues to implement stack behavior.You need to write push and pop methods to demonstrate Stack behavior(Last In First Out).

Question 42: Implement a stack using Linked List.

 You need to implement Stack using Linked List. You need to write push and pop methods to demonstrate Stack behavior(Last In First Out).

May 2, 2022

Question 41: Implement a stack using array

You need to implement Stack using array. You need to write push and pop methods to demonstrate Stack behavior(Last In First Out).

You may also like

Kubernetes Microservices
Python AI/ML
Spring Framework Spring Boot
Core Java Java Coding Question
Maven AWS