Created
June 17, 2020 08:17
-
-
Save dearshrewdwit/08b1942d9e14e72bc8986029feff659d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rearrange your implementation to obey the following constraints | |
| 1. Each method can only have a maximum of 5 operations, where an operation is a variable assignment or a method call. | |
| 2. Each method can be a maximum of 5 lines (excluding method definition key words) | |
| 3. The only public method available should be Secret#encrypt (private methods are free to use). | |
| Any amount of rearranging is fine, so long as the test cases still pass. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment