DoorDash Interview Question

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