Data Structures: Learn how a Stack Works

This commit is contained in:
Manish 2023-08-22 10:57:35 +10:00
parent 90942956ca
commit 8c899a5efb

5
Data Structures/stack.js Normal file
View 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");