Rephrase instructions on Waypoint: Stand in Line

Instructions were unclear as to what the function should return.
fixes #5655
pull/5682/head
Brandon Eichler 2015-12-31 20:41:16 -06:00
parent e97a95bc7f
commit 2367c5be7a
1 changed files with 1 additions and 1 deletions

View File

@ -2098,7 +2098,7 @@
"title": "Stand in Line",
"description": [
"In Computer Science a <dfn>queue</dfn> is an abstract <dfn>Data Structure</dfn> where items are kept in order. New items can be added at the back of the <code>queue</code> and old items are taken off from the front of the <code>queue</code>.",
"Write a function <code>queue</code> which takes an \"array\" and an \"item\" as arguments. Add the item onto the end of the array, then remove and return the first element of the array."
"Write a function <code>queue</code> which takes an \"array\" and an \"item\" as arguments. Add the item onto the end of the array, then remove the first element of the array. The queue function should return the element that was removed."
],
"releasedOn": "January 1, 2016",
"head": [