Skip to content

Commit

Permalink
#21, Simplify Exercise 2.1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-roehler committed Nov 30, 2023
1 parent 0b65d0e commit c5537c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter02/worksheets/solution2.1.7.1_AR.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
Exercise 2.1.7.1
Find all integer pairs 𝑖, 𝑗 where 0 ≤ 𝑖 ≤ 9 and 0 ≤ 𝑗 ≤ 9 and 𝑖 + 4 ∗ 𝑗 > 𝑖 ∗ 𝑗.
Find all integer pairs 𝑖, 𝑗 where 0 ≤ 𝑖,j ≤ 9 and 𝑖 + 4 ∗ 𝑗 > 𝑖 ∗ 𝑗.
Hint: use flatMap and filter.
*/

Expand Down

0 comments on commit c5537c2

Please sign in to comment.