Topic: Dynamic Programming Problem / Level: beginner

Problem: Find the number of ways to color a 2xN board using 2 colors such that no two adjacent tiles have the same color.

Run the code to see the output here...