Skip to content

Commit

Permalink
Fix spelling error and heading in instruction.append file. (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyG authored Oct 31, 2024
1 parent f93b0dd commit 5ad6668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/linked-list/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
While linked lists can be implemented in a variety of ways with a variety of underlying data structures, we ask here that you implement your linked list in an OOP fashion.

In the stub file, you will see the start of a `Node` class, as well as a `LinkedList` class.
Your `Node` class should keep track of its value, as well as which other nodes preceed or follow.
Your `Node` class should keep track of its value, as well as which nodes precede or follow.
Your `push`, `pop`, `shift`, `unshift`, and the special method for `len` should be implemented in the `LinkedList` class.
You might also find it useful to implement a special `iter` method for iteration.

Expand All @@ -17,7 +17,7 @@ If the value appears more than once, only the **first** occurrence should be rem

<br>

## Exception messages
## Exception Messages

Sometimes it is necessary to [raise an exception][raising]. When you do this, you should always include a **meaningful error message** to indicate what the source of the error is.
This makes your code more readable and helps significantly with debugging.
Expand Down

0 comments on commit 5ad6668

Please sign in to comment.