From 268771c70b32b0b7f9bf7d947da14b94c00286a4 Mon Sep 17 00:00:00 2001 From: stephen-hero <78870893+stephen-hero@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:44:52 +0200 Subject: [PATCH] Update task.md language checked --- .../oldSchoolServerGroupByByHairAndHat/task.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oldSchoolServer/oldSchoolServerGroupByByHairAndHat/task.md b/oldSchoolServer/oldSchoolServerGroupByByHairAndHat/task.md index 23aa3bb..c958da8 100644 --- a/oldSchoolServer/oldSchoolServerGroupByByHairAndHat/task.md +++ b/oldSchoolServer/oldSchoolServerGroupByByHairAndHat/task.md @@ -1,8 +1,8 @@ -Another exercise about the `groupBy` function. +Here's another exercise with the `groupBy` function. Implement the `groupPhotosByHairAndHat` function from the `GameFunctionsService` class. -This function should group photos by hair type, +This function should group photos by the hair type, then group photos by the presence of hats in each hair type group, -and then return the flat list of the flattened list of all grouped photos, e.g.: +and then return the flattened list of all grouped photos, e.g.: ```kotlin fun main() { val photos = listOf( @@ -35,6 +35,6 @@ fun main() { You can use the already implemented function `toPhotoCharacters` to implement the `groupPhotosByHairAndHat` function. -After implementing this task, you will be able to group photos by hair type and hat presence and reorder their on the album: +After implementing this task, you will be able to group photos by the hair type and hat presence and reorder them in the album: ![Current state](../../utils/src/main/resources/images/old/school/states/state_4.gif)