fCurrent for f(n-1), fPrevious for f(n-2), and pCurrent for p(n-1).fCurrent = 2, fPrevious = 1, and pCurrent = 1.k = 3 to n, updating fCurrent, fPrevious, and pCurrent using the transition functions.fCurrent will hold the number of ways to fully cover a 2 x n board.fCurrent modulo 10^9 + 7.