Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
Solution to question 5
  • Loading branch information
ramagururadhakrishnan authored Jun 11, 2024
1 parent 594337d commit f2160bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Solutions/Mid-Term/Mid-Term.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Successfully solved by [Aishwarya G](), [Dyanesh S](), [Aravind S](), [Ashwin An

**Solution:** <br/>
(a) **map reverse (filter (even . length) strs)** <br/>
(b) **map length (filter (\word → length word > 10) words)** <br/>
(b) **map length (filter (\word → length word > 5) words)** <br/>
(c) **map (\x -> (x, 6 - x)) (filter (\x -> x + (6 - x) == 6) [1..5])**<br/>
(d) **map (^2) (filter even [1..10])** <br/>

Expand Down

0 comments on commit f2160bb

Please sign in to comment.