Tiling Problem - Ambiguity in Problem Description


I have to agree that the wording for this problem is EXTREMELY WANTING. Solving this problem without returning the answer by computing the modulo is not problematic, but the wording for the problem added unwarranted ambiguity to the problem, hence even removing what the problem is testing for, which was dynamic programming. I don’t know why the creator of the problem was afraid of having big results computed since large values can comfortably fit in a long data type. The modulo part ended up COMPLETELY DISTORTING the core skill the question is testing by, by not SPECIFYING EXACTLY whether the modulo is computed on the final result or intermediate results.