anonymous
  • anonymous
ps3, problem 2 Hello What are other approaches for solving problem 2 in ps3? http://dpaste.com/hold/693698/
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
http://dpaste.com/693796/
anonymous
  • anonymous
Thank you very much
anonymous
  • anonymous
subStringMatchExact1 returns TypeError: bad operand type for unary +: 'tuple'

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
do you know how to fix it?
anonymous
  • anonymous
Actually, no That what was killing in the first place. Well, I was trying not exactly the same way, but there were similar type error
anonymous
  • anonymous
http://dpaste.com/693951/
anonymous
  • anonymous
So, as I wrote in another question, I've spent 2 day in tuples, strings and recursion and did not come up with answer. So now I am starting to suspect that words 'These problems can be solved with either an iterative function or a recursive one' were just exaggeration (regarding to problem2) .
anonymous
  • anonymous
.. you Can write either an iterative or recursive solution
anonymous
  • anonymous
your last function return wrong answer
anonymous
  • anonymous
yes, I can agree it was stupid to spend 2 days trying to find unnecessary extrasolution
anonymous
  • anonymous
yep - i was flirting with processing the result after the fact, while wrong the information is there. http://pastebin.com/jLEMVG38

Looking for something else?

Not the answer you are looking for? Search for more explanations.