Rephrase instructions on Waypoint: Stand in Line
Instructions were unclear as to what the function should return. fixes #5655pull/5682/head
parent
e97a95bc7f
commit
2367c5be7a
|
@ -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": [
|
||||
|
|
Loading…
Reference in New Issue