Add efficient solution for maxProduct