2 deleted 6 characters in body
source | link

Python 2, 97 9597 bytes

lambda r,v:max(range(len(r)-len(v)+1),key=lambda i:reduce(lambda x,(a,b):(x+a)*b,zip(v,r[i:]),0))

Try it online!Try it online!

Returns 0-indexed

Python 2, 97 95 bytes

lambda r,v:max(range(len(r)-len(v)),key=lambda i:reduce(lambda x,(a,b):(x+a)*b,zip(v,r[i:]),0))

Try it online!

Returns 0-indexed

Python 2, 97 bytes

lambda r,v:max(range(len(r)-len(v)+1),key=lambda i:reduce(lambda x,(a,b):(x+a)*b,zip(v,r[i:]),0))

Try it online!

Returns 0-indexed

1
source | link

Python 2, 97 95 bytes

lambda r,v:max(range(len(r)-len(v)),key=lambda i:reduce(lambda x,(a,b):(x+a)*b,zip(v,r[i:]),0))

Try it online!

Returns 0-indexed