From 69fbbbe35824add5a9d04523f355bcd2116c56c7 Mon Sep 17 00:00:00 2001 From: manumafe98 Date: Tue, 2 Apr 2024 16:59:31 -0300 Subject: [PATCH 1/2] Fixing lists concept typos --- concepts/lists/about.md | 2 +- concepts/lists/introduction.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/lists/about.md b/concepts/lists/about.md index c5a878659..c824ca59f 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. diff --git a/concepts/lists/introduction.md b/concepts/lists/introduction.md index 0ce7901ff..01332c1b4 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. From 86fc7940b31c054241f593ff2a286b492d75135d Mon Sep 17 00:00:00 2001 From: manumafe98 Date: Tue, 2 Apr 2024 17:12:56 -0300 Subject: [PATCH 2/2] Fixing typo on variable name as well --- concepts/lists/about.md | 2 +- concepts/lists/introduction.md | 2 +- exercises/concept/karls-languages/.docs/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concepts/lists/about.md b/concepts/lists/about.md index c824ca59f..230bdcfd6 100644 --- a/concepts/lists/about.md +++ b/concepts/lists/about.md @@ -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 01332c1b4..7d5d865ef 100644 --- a/concepts/lists/introduction.md +++ b/concepts/lists/introduction.md @@ -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: