nextInLine text needs code tags

This commit is contained in:
Mohit
2016-07-16 21:24:37 +05:30
parent ced45d43f4
commit 9028d8e4d1

View File

@ -2503,7 +2503,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>nextInLine</code> which takes an array (<code>arr</code>) and a number (<code>item</code>) as arguments. Add the number to the end of the array, then remove the first element of array. The nextInLine function should then return the element that was removed." "Write a function <code>nextInLine</code> which takes an array (<code>arr</code>) and a number (<code>item</code>) as arguments. Add the number to the end of the array, then remove the first element of array. The <code>nextInLine</code> function should then return the element that was removed."
], ],
"releasedOn": "January 1, 2016", "releasedOn": "January 1, 2016",
"head": [ "head": [