3290. Maximum Multiplication Score
You are given an integer array
aof size 4 and another integer arraybof size at least 4.You need to choose 4 indices
i0,i1,i2, andi3from the arraybsuch thati0 < i1 < i2 < i3. Your score will be equal to the valuea[0] * b[i0] + a[1] * b[i1] + a[2] * b[i2] + a[3] * b[i3].Return the maximum score you can achieve.