aboutsummaryrefslogtreecommitdiff
path: root/challenge-135/abigail/node
AgeCommit message (Collapse)Author
2021-10-19Remove hardcoded valuesAbigail
2021-10-19Might as well map 'A' to 0.Abigail
The SEDOL specification says 'A' maps to 10, 'B' to 11, etc. However, to perform a checksum, all we care about is module 10 arithmetic. So, whether 'A' maps to 10, or to 0, doesn't matter.
2021-10-19Last character of a SEDOL must be a number.Abigail
Without this check, it could validate the SEDOL which uses a letter as a check digit. For instance, if the check digit is a '1', using 'B' would validate as well.
2021-10-18Node.js solutions for week 135Abigail