{"id":20601663,"url":"https://github.com/rolling-scopes-school/doubly-linked-list","last_synced_at":"2025-04-04T08:09:52.172Z","repository":{"id":16488079,"uuid":"79937133","full_name":"rolling-scopes-school/doubly-linked-list","owner":"rolling-scopes-school","description":"Doubly linked list task","archived":false,"fork":false,"pushed_at":"2023-01-12T12:00:43.000Z","size":438,"stargazers_count":24,"open_issues_count":14,"forks_count":857,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-14T15:37:07.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rolling-scopes-school.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-24T17:48:46.000Z","updated_at":"2022-04-14T23:56:55.000Z","dependencies_parsed_at":"2023-01-14T12:45:23.221Z","dependency_job_id":null,"html_url":"https://github.com/rolling-scopes-school/doubly-linked-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fdoubly-linked-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fdoubly-linked-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fdoubly-linked-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fdoubly-linked-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rolling-scopes-school","download_url":"https://codeload.github.com/rolling-scopes-school/doubly-linked-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142074,"owners_count":20890653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T09:11:38.124Z","updated_at":"2025-04-04T08:09:52.154Z","avatar_url":"https://github.com/rolling-scopes-school.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Doubly linked list\n\n---\n⚠️ DO NOT SUBMIT PRS TO THIS REPO ⚠️\n\n## Task\n\nYour task is to implement [doubly linked list](https://en.wikipedia.org/wiki/Doubly_linked_list) data structure.\n\n### Methods\n##### `append(data)`\nShould add node to the end of the list\n\n##### `head()`\nShould return data from the head of the list\n\n##### `tail()`\nShould return data from the end of the list\n\n##### `at(index)`\nShould return data of node by specified index\n\n##### `insertAt(index)`\nShould insert data to specified index\n\n##### `isEmpty()`\nShould return true if list is empty, false otherwise\n\n##### `clear()`\nShould clear the list\n\n##### `deleteAt(index)`\nShould delete element by specified index\n\n##### `reverse()`\nShould reverse the list\n\n##### `indexOf(value)`\nShould return index of specified value or -1 if list doesn't contain such\n\n### Prerequisites\n1. Install [Node.js](https://nodejs.org/en/download/)   \n2. Fork this repository: https://github.com/rolling-scopes-school/doubly-linked-list/\n3. Clone your newly created repo: https://github.com/\u003c%your_github_username%\u003e/doubly-linked-list/  \n4. Go to folder `doubly-linked-list`  \n5. To install all dependencies use [`npm install`](https://docs.npmjs.com/cli/install)  \n6. Run `npm test` in command line or you can run tests in browser with `npm start` and open http://localhost:8080\n7. You will see the number of passing and failing tests. 100% of passing tests is equal to 100p in score  \n\n---\n\n### Submit to [rs app](https://app.rs.school)\n1. Open [rs app](https://app.rs.school) and login\n2. Go to [submit task page](https://app.rs.school/course/submit-task?course=rs-2019-q3)\n3. Select your task (doubly-linked-list)\n4. Press the submit button and enjoy\n\n---\n\n### Notes\n1. We recommend you to use nodejs of version 10 or lower. If you using any of features that does not supported by node v10, score won't be submitted.\n2. Please be sure that each of your test in limit of 30sec.\n\n---\n\n© [Shastel](https://github.com/Shastel)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolling-scopes-school%2Fdoubly-linked-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolling-scopes-school%2Fdoubly-linked-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolling-scopes-school%2Fdoubly-linked-list/lists"}