Topic: Dynamic Programming Problem / Level: intermediate

Problem: Compute the maximum product of a subarray where adjacent elements alternate between odd and even values using dynamic programming.

Run the code to see the output here...