Print all possible paths from top left to bottom right in matrix
Given a 2D matrix of dimension mân, the task is to print all the possible paths from the top left corner to the bottom right corner in a 2D matrix with the constraints that from each cell you can either move to right or down only. Examples : Input: [[1,2,3], [4,5,6]]Output: [[1,4,5,6], [1,2,5,6], [1