Topic: Dynamic Programming Problem / Level: intermediate

Problem: Compute the maximum sum of products of two subsequences where adjacent elements alternate between multiples of 2 and multiples of 3 using dynamic programming.

Run the code to see the output here...