Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions alphametics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[Alphametics](https://en.wikipedia.org/wiki/Alphametics) is a puzzle where
letters in words are replaced with numbers.

For example `SEND + MORE = MONEY`:

```
S E N D
M O R E +
-----------
M O N E Y
```

Replacing these with valid numbers gives:

```
9 5 6 7
1 0 8 5 +
-----------
1 0 6 5 2
```

This is correct because every letter is replaced by a different number and the
words, translated into numbers, then make a valid sum.

Write a function to solve alphametics puzzles.
2 changes: 2 additions & 0 deletions alphametics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
blurb: "Write a function to solve alphametics puzzles."