Topic: Dynamic Programming Problem / Level: intermediate

Problem: Solve the "Minimum Number of Swaps to Sort Two Arrays" problem where adjacent swaps are allowed using dynamic programming.

Run the code to see the output here...