From 9887a0b0dcca6d7399823bb539f7e159b64498c9 Mon Sep 17 00:00:00 2001 From: MANISH-GIRI Date: Thu, 30 Mar 2017 21:02:15 -0400 Subject: [PATCH] Change stack top element in instructions --- .../coding-interview-data-structure-questions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json b/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json index f275c7f0da..eb33d0ca25 100644 --- a/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json +++ b/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json @@ -53,7 +53,7 @@ "This data storage scheme is called a Stack. In particular, we would have to implement the push() method that pushes JavaScript objects at the top of the stack; and pop() method, that removes the JavaScript object that's at the top of the stack at the current moment.", "
", "Here we have a stack of homework assignments represented as an array: \"BIO12\" is at the base, and \"PSY44\" is at the top of the stack.", - "Modify the given array and treat it like a stack using the JavaScript methods mentioned above. Remove the top element \"BIO12\" from the stack. Then add \"CS50\" to be the new top element of the stack." + "Modify the given array and treat it like a stack using the JavaScript methods mentioned above. Remove the top element \"PSY44\" from the stack. Then add \"CS50\" to be the new top element of the stack." ], "challengeSeed": [ "var homeworkStack = [\"BIO12\",\"HIS80\",\"MAT122\",\"PSY44\"];",