DoorDash interview question

Count Paths from Source to Destination in a matrix in k steps