Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
David_Novo
Group Title
What's your opinion on this solution to number 2 from problem set 4 (Spring 2011)?
http://dpaste.com/788291/
 one year ago
 one year ago
David_Novo Group Title
What's your opinion on this solution to number 2 from problem set 4 (Spring 2011)? http://dpaste.com/788291/
 one year ago
 one year ago

This Question is Closed

WilliamXing Group TitleBest ResponseYou've already chosen the best response.0
Hi 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.
 one year ago

David_Novo Group TitleBest ResponseYou've already chosen the best response.0
Yes, but if there are two shifts that return the same count, it's indifferent which one it returns right?
 one year ago

WilliamXing Group TitleBest ResponseYou've already chosen the best response.0
maybe 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?
 one year ago

David_Novo Group TitleBest ResponseYou've already chosen the best response.0
This 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.
 one year ago
See more questions >>>
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.