I know that :
$T(n,k)=T(n−1,k−1)+T(n−1,k)$ is the Pascal triangle.
But what is this then:
$T(n,k)=T(n−1,k−1)+T(n,k-1)$
Is there any name for it? I am trying to learn about it's time complexity etc, but I can't find anything online.
I know that :
$T(n,k)=T(n−1,k−1)+T(n−1,k)$ is the Pascal triangle.
But what is this then:
$T(n,k)=T(n−1,k−1)+T(n,k-1)$
Is there any name for it? I am trying to learn about it's time complexity etc, but I can't find anything online.
The second recurrence is ALSO Pascal's Triangle (interchange n and k).