Data Structures: Learn how a Stack Works
This commit is contained in:
parent
90942956ca
commit
8c899a5efb
5
Data Structures/stack.js
Normal file
5
Data Structures/stack.js
Normal file
@ -0,0 +1,5 @@
|
||||
// https://www.freecodecamp.org/learn/coding-interview-prep/data-structures/learn-how-a-stack-works
|
||||
var homeworkStack = ["BIO12", "HIS80", "MAT122", "PSY44"];
|
||||
// Only change code below this line
|
||||
homeworkStack.pop();
|
||||
homeworkStack.push("CS50");
|
Loading…
Reference in New Issue
Block a user