diff --git a/subjects/java/checkpoints/circular-linkedlist/README.md b/subjects/java/checkpoints/circular-linkedlist/README.md index d7b25629d..522ac835a 100644 --- a/subjects/java/checkpoints/circular-linkedlist/README.md +++ b/subjects/java/checkpoints/circular-linkedlist/README.md @@ -4,7 +4,7 @@ Create a circular single linked list data structure that implements the following methods: -- `at(int index)`: to access an element by its index. +- `at(int index)`: to access an element by its index. if the index is negative or if the list is empty return -1. - `add(int value)`: to add an element at the end of the list. - `remove(int index)`: to remove an element by its index. - `size()`: to return the size of the list.