Skip to content

Commit

Permalink
Merge pull request #39 from andreas-roehler/master
Browse files Browse the repository at this point in the history
Exercise 2.1.7.10 minor fix
  • Loading branch information
winitzki authored Dec 15, 2023
2 parents 1ce8969 + 39903b0 commit 5809173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter02/worksheets/solution2.1.7.10.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
Exercise 2.1.7.10
Given a Seq[List[Int]], compute a new Seq[List[Int]] where each list contains three largest elements from the initial list (or fewer than three if the initial inner list is
Given a Seq[List[Int]], compute a new Seq[List[Int]] where each list contains three largest elements from the initial list (or fewer than three if the initial list is
shorter). So, for the input:
Seq(List(0, 50, 5, 10, 30), List(100), List(1, 2, 200, 20))
Expand Down

0 comments on commit 5809173

Please sign in to comment.