Skip to content

Commit af1940d

Browse files
authored
Rework simple-linked-list documentation (#2244)
* Rework simple-linked-list documentation This PR is part of our project of making our Practice Exercises more consistent and human. For more context please see the following forum-thread: https://forum.exercism.org/t/new-project-making-practice-exercises-more-consistent-and-human-across-exercism/3943 The main change for this exercise is to put it into the context of a small story. * Simplify simple-linked-list docs
1 parent cfb6f03 commit af1940d

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

exercises/simple-linked-list/description.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Instructions
2+
3+
Write a prototype of the music player application.
4+
5+
For the prototype, each song will simply be represented by a number.
6+
Given a range of numbers (the song IDs), create a singly linked list.
7+
8+
Given a singly linked list, you should be able to reverse the list to play the songs in the opposite order.
9+
10+
~~~~exercism/note
11+
The linked list is a fundamental data structure in computer science, often used in the implementation of other data structures.
12+
13+
The simplest kind of linked list is a **singly** linked list.
14+
That means that each element (or "node") contains data, along with something that points to the next node in the list.
15+
16+
If you want to dig deeper into linked lists, check out [this article][intro-linked-list] that explains it using nice drawings.
17+
18+
[intro-linked-list]: https://medium.com/basecs/whats-a-linked-list-anyway-part-1-d8b7e6508b9d
19+
~~~~
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Introduction
2+
3+
You work for a music streaming company.
4+
5+
You've been tasked with creating a playlist feature for your music player application.

0 commit comments

Comments
 (0)