Rephrase instructions on Waypoint: Stand in Line

Instructions were unclear as to what the function should return.
fixes #5655
This commit is contained in:
Brandon Eichler
2015-12-31 20:41:16 -06:00
parent 1d3bc2b556
commit f682e33d59

View File

@ -2098,7 +2098,7 @@
"title": "Stand in Line", "title": "Stand in Line",
"description": [ "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>.", "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", "releasedOn": "January 1, 2016",
"head": [ "head": [