Topic: Dynamic Programming Problem / Level: intermediate

Problem: Find the maximum product of three elements in an array where adjacent elements alternate between odd and even numbers using dynamic programming.

Run the code to see the output here...