From f2160bb824fe9d5ed6a29443e92a7888bf7214c9 Mon Sep 17 00:00:00 2001 From: Ramaguru Radhakrishnan <7790256+ramagururadhakrishnan@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:36:10 +0530 Subject: [PATCH] Updated Solution to question 5 --- Assets/Solutions/Mid-Term/Mid-Term.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Solutions/Mid-Term/Mid-Term.md b/Assets/Solutions/Mid-Term/Mid-Term.md index 802fdff..828d8aa 100644 --- a/Assets/Solutions/Mid-Term/Mid-Term.md +++ b/Assets/Solutions/Mid-Term/Mid-Term.md @@ -41,7 +41,7 @@ Successfully solved by [Aishwarya G](), [Dyanesh S](), [Aravind S](), [Ashwin An **Solution:**
(a) **map reverse (filter (even . length) strs)**
-(b) **map length (filter (\word → length word > 10) words)**
+(b) **map length (filter (\word → length word > 5) words)**
(c) **map (\x -> (x, 6 - x)) (filter (\x -> x + (6 - x) == 6) [1..5])**
(d) **map (^2) (filter even [1..10])**