Problem As an exercise, I wanted to make an array implementation of Stack, including most of the methods from the […]
Tag: stack
Sort stack using two stacks
Problem My program is supposed to sort a stack such that the smallest item are on the top. I can […]
Stack implementation using Swift
Problem I would like to request some code review and feedback on a stack implementation using Swift. Disclaimer: I might […]
Popping from a list in state while a condition is true
Problem I’m dealing with data that stores its state as a String, treating the string like a stack. I also […]
Stack implementation using an array
Problem I am trying a stack implementation using an array. I want to know if this approach is OK or […]
Sorting a Stack in ascending order
Problem Here’s my implementation of sorting a stack in ascending order. The problem statement is as follows : Write a […]
Implementing a stack using a simple array, dynamic array and linked list
Problem I have implemented a stack using simple array, dynamic array and linked list. I am requesting a review of […]
Python script to convert hierarchical JSON to LaTeX itemize
Problem I have the following JSON: { “items”: [ { “item”: “abc”, “status”: “ready” }, { “item”: “def”, “status”: “ready” […]
Make a new design of Stack with a new function
Problem I am doing some coding exercise, and I am not sure if I have met the requirement. Can someone […]
Parenthesis checker
Problem I am working on a parenthesis checker program in Java that reads in a text stream from standard input […]