A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 3 years ago
What's your opinion on this solution to number 2 from problem set 4 (Spring 2011)?
http://dpaste.com/788291/
anonymous
 3 years ago
What's your opinion on this solution to number 2 from problem set 4 (Spring 2011)? http://dpaste.com/788291/

This Question is Closed

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0Hi David, unlikely though, what if you get 2 shifts that returns exactly the same count? The list.max() will only return the first max number.

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0Yes, but if there are two shifts that return the same count, it's indifferent which one it returns right?

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0maybe for a long text they decrypt different words but happen to be the same number? We may need a way to iterate the list and return all indices with the max number and also check the decoded texts?

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0This is Problem Set 4  Question 2. Your answer is probably related to question 4. This function is used to decode a message that was encoded using just one shift. Multiple shifts are considered in question 4. In this case the shift that decodes more words will decode all the words in the message because it was encoded with one shift only.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.