fftAlg.initJSAV()

Perform the final for loop of the fft algorithm (shown below) with the list1 and list2 values below.

For each element of newPoly, select a value from list1 then click on the correct index of newPoly. Then choose the appropriate z value and click again on the correct index of newPoly. Finally select a value from list2 then click the correct index of newPoly. The output will appear in the form: (list1) + z * (list2).

[fftAlg.userInput]
if (!fftAlg.checkAnswer() && !guess[0]) { return ""; // User did not click, and correct answer is not // initial array state } else { return fftAlg.checkAnswer(); }

For the first index of the final array k is 0

For the first index of the final array z is 1

So for the first index of the final array select the first value of list 1, 1 from the z list, and the first value of list 2.