C # program to Print all possible paths from top left to bottom right of a mXn matrix
using System ; using System . Collections . Generic ; class GFG { static List < List < int > > allPaths = new List < List < int > > ( ) ; static void findPathsUtil ( List < List < int > > maze , int m , int n , int i , int j , List < int > path , int indx ) {