Chef and Subsequences (RECode 12.0)

I just wanted to ask the authors of the question.Was fft intended to pass the contraints?

1 Like

There exists a much simpler solution using Binomial Theorem Tricks, why use FFT here.

I know but fft seemed right at the moment then