Topic: Dynamic Programming Problem / Level: intermediate

Problem: Solve the "Maximum Length of Alternating Subarray" problem where the subarray alternates between positive and negative elements using dynamic programming.

Run the code to see the output here...