Topic: Dynamic Programming Problem / Level: intermediate

Problem: Find the longest increasing subsequence where adjacent elements alternate between even and odd using dynamic programming.

Run the code to see the output here...