I am working on Problem set 4. The solution that posted online seems not the correct one after problem 3 and 4. Can anyone show me where is the right answer?
you sure you want me to post my solution? post yours and/or ask questions - we can help you get thru yours
do you understand recursion? if a shift is 'succesful' what do you expect to see? - apply a shift to the text - if the shift produced something meaningful + save that information for comparison - repeat the above for all 26 (27?) shifts + save the one that produces the most meaningful result - remove the meaningful text from the cipher + repeat/recurse all of the above with what is left (just the ciphertext) - stop when there is no ciphertext left or a shift cannot be found
Join our real-time social learning platform and learn together with your friends!