Skip to content

Commit

Permalink
Merge pull request #22 from andreas-roehler/master
Browse files Browse the repository at this point in the history
#21, Simplify Exercise 2.1.7.1
  • Loading branch information
winitzki authored Nov 30, 2023
2 parents 0b65d0e + c5537c2 commit 6b7c487
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 6b7c487

Please sign in to comment.