Implement a stack in javascript you will turn in a link to


Please post the HTML and Javascript - must be able to run in JS Fiddle (jsfiddle.net) - when using jsfiddle make sure to select "no wrap in body" or "no wrap in head" under the javascript settings

Must be built using a list, not an array

Implement a Stack in Javascript (you will turn in a link to your program in JSFiddle). Do not use an array as the stack or in the implementation of the stack. Repeat - You MUST implement the Stack (start with your linked list) without the use of an array.

You will build a Stack Computer from your stack. When a number is entered it goes onto the top of the stack.

When an operation is entered, the previous 2 numbers are operated on by the operation and the result is pushed onto the top of the stack.

This is how an RPN calculator.

For example

2 [enter] 2

5 [enter] 5 2

* [enter] * 5 2 -> collapses to 10

would leave at 10 at the top of the stack.

The program should use a simple input box, either a text field or prompt and display the contents of the Stack.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Implement a stack in javascript you will turn in a link to
Reference No:- TGS02892460

Expected delivery within 24 Hours