Topic: Dynamic Programming Problem / Level: intermediate

Problem: Compute the longest increasing subsequence in an array where adjacent elements alternate between prime and even numbers using dynamic programming.

Run the code to see the output here...