The exercise below will test your newly acquired knowledge of Horner's Method, which is used in the Rabin-Karp algorithm. You will be provided with values for Q, C, and a random string. Please use the text field to fill in the 'Magic Number' of the given string. When you are finished hit Check Answer to see if you are correct. Use the provided pseudo code to help you find your answer. (A calculator may be necessary.)
Your solution:
[started]
if (!checkAnswer() && !guess[0])
return "";
else return checkAnswer();