appacademy / prep-work

preparatory material for interviewing with App Academy
291 stars 339 forks source link

14-scramble-string.rb test case 2 is incorrect? #76

Closed mluu510 closed 9 years ago

mluu510 commented 9 years ago

I looked over this problem, the test case 2:

scramble_string("markov", [5, 3, 1, 4, 2, 0]) == "vkaorm"

doesn't look right. If the positions array determine the position of the letters then it should be "vroakm". Can anyone verify?

rglassett commented 9 years ago

See #59 and #63.