diff options
| author | Packy Anderson <packy@cpan.org> | 2024-07-08 22:01:43 -0400 |
|---|---|---|
| committer | Packy Anderson <packy@cpan.org> | 2024-07-08 22:01:43 -0400 |
| commit | 55021115ebd1239d3e5ae85ce21605d87feeabf6 (patch) | |
| tree | 54a6c895116d94753e2c513447d600b4d518f029 | |
| parent | 94dc8d2cc80ef2c4f41a7de2ef67ead1c4936a71 (diff) | |
| download | perlweeklychallenge-club-55021115ebd1239d3e5ae85ce21605d87feeabf6.tar.gz perlweeklychallenge-club-55021115ebd1239d3e5ae85ce21605d87feeabf6.tar.bz2 perlweeklychallenge-club-55021115ebd1239d3e5ae85ce21605d87feeabf6.zip | |
Challenge 277 solutions by Packy Anderson
Fix typo
| -rwxr-xr-x | challenge-277/packy-anderson/elixir/ch-1.exs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/challenge-277/packy-anderson/elixir/ch-1.exs b/challenge-277/packy-anderson/elixir/ch-1.exs index 2596d6539c..c297c67fe5 100755 --- a/challenge-277/packy-anderson/elixir/ch-1.exs +++ b/challenge-277/packy-anderson/elixir/ch-1.exs @@ -31,6 +31,7 @@ defmodule Multiset do def multiplicity(multiset, value) def multiplicity(%Multiset{map: map}, value), do: Map.get(map, value, 0) end + defmodule PWC do def countCommon(words1, words2) do # make Multisets that count the words |
