diff --git a/concepts/lists/about.md b/concepts/lists/about.md index c5a878659..230bdcfd6 100644 --- a/concepts/lists/about.md +++ b/concepts/lists/about.md @@ -1,7 +1,7 @@ # About Lists **Lists** are the ordered sequence collection in Java. -Unlike arrays, a [`List`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html) can grow in size to accomodate any number of items. +Unlike arrays, a [`List`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html) can grow in size to accommodate any number of items. One standard implementation is the `ArrayList` which is backed by a re-sizable array. Another standard implementation is the `LinkedList` class which is backed by a doubly-linked list. @@ -13,7 +13,7 @@ For example: List emptyListOfStrings = List.of(); List singleInteger = List.of(1); List threeBooleans = List.of(true, false, true); -List listWithMulitipleTypes = List.of("hello", 1, true); +List listWithMultipleTypes = List.of("hello", 1, true); ``` `List`s have various helpful methods to add, remove, get, and check for an element to be present: diff --git a/concepts/lists/introduction.md b/concepts/lists/introduction.md index 0ce7901ff..7d5d865ef 100644 --- a/concepts/lists/introduction.md +++ b/concepts/lists/introduction.md @@ -1,7 +1,7 @@ # Introduction to Lists **Lists** are the ordered sequence collection in Java. -Unlike arrays, a [`List`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html) can grow in size to accomodate any number of items. +Unlike arrays, a [`List`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html) can grow in size to accommodate any number of items. One standard implementation is the `ArrayList` which is backed by a re-sizable array. Another standard implementation is the `LinkedList` class which is backed by a doubly-linked list. @@ -13,7 +13,7 @@ For example: List emptyListOfStrings = List.of(); List singleInteger = List.of(1); List threeBooleans = List.of(true, false, true); -List listWithMulitipleTypes = List.of("hello", 1, true); +List listWithMultipleTypes = List.of("hello", 1, true); ``` `List`s have various helpful methods to add, remove, get, and check for an element to be present: diff --git a/exercises/concept/karls-languages/.docs/introduction.md b/exercises/concept/karls-languages/.docs/introduction.md index dbcafcc83..c34d4f3db 100644 --- a/exercises/concept/karls-languages/.docs/introduction.md +++ b/exercises/concept/karls-languages/.docs/introduction.md @@ -68,7 +68,7 @@ For example: List emptyListOfStrings = List.of(); List singleInteger = List.of(1); List threeBooleans = List.of(true, false, true); -List listWithMulitipleTypes = List.of("hello", 1, true); +List listWithMultipleTypes = List.of("hello", 1, true); ``` `List`s have various helpful methods to add, remove, get, and check for an element to be present: