Https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/stand-in-line/

Tell us what’s happening:
/* I m stuck with abstract data structure want to know what it is can any one
help plz */

Your code so far


function nextInLine(arr, item) {
  // Your code here
  
  return item;  // Change this line
}

// Test Setup
var testArr = [1,2,3,4,5];

// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(nextInLine(testArr, 6)); // Modify this line to test
console.log("After: " + JSON.stringify(testArr));

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 OPR/62.0.3331.116.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/stand-in-line/

could you expand a bit more on what kind of help you need?
have you tried anything to solve this challenge?

1 Like

yes I did but it sounds hard … I want to know what is abstract data structrue and want to solve the challenge as well … anyway thank U

have you tried doing a google search before asking here?

1 Like

Yes I tried to learn it from youtube but I couldn’t get it.

so explain to us what have you found on this topic and what you didn’t understand

1 Like

Actually I m the beginner just learning from freecode camp … so I have no idea what is the abstract data structure in computer science so just wanna know about it

Have you tried with the Read-Search-Ask method?
What have you found while researching? There is something in particular you don’t understand?


https://runestone.academy/runestone/books/published/pythonds/Introduction/WhyStudyDataStructuresandAbstractDataTypes.html

https://computersciencewiki.org/index.php/Abstract_data_structures

Okay … thank U I hope I wil get it right now.