-
-
Notifications
You must be signed in to change notification settings - Fork 637
✨ Add new exercise : Affine Cipher #887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Add new exercise : Affine Cipher #887
Conversation
config.json
Outdated
@@ -1464,6 +1464,19 @@ | |||
"topics": [ | |||
"graph_theory" | |||
] | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file is ordered. Or at least it was. It should be around the other unlocked_by
simple-cipher
, and then it's probably sorted by difficulty > lexographically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 nits :). Looking great @TomPradat
|
||
export const decode = (phrase, key) => { | ||
throw new Error("Remove this statement and implement this function"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
}; | |
exercises/affine-cipher/example.js
Outdated
@@ -0,0 +1,101 @@ | |||
const ALPHABET = 'abcdefghijklmnopqrstuvwxyz'; | |||
const m = ALPHABET.length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you uppercase this, and give it a name?
You're on a roll! Are you on our maintainers list yet? Would you like to help out with v3? |
Idk if I'm on the maintainers list yet, i guess not. I've already started a PR to help with v3 and I'll be glad to help more 👍 |
Fix #886