C # implementation to find the minimum number of operations required to move from ( 1 , 1 ) to ( N , M )
using System ; using System . Collections . Generic ; class GFG { static long MAX = ( long ) 1e18 ; static long n , m ; static List < List < long > > v = new List < List < long > > ( ) ; static long [ , ] dp = new long [ 151 , 151 ] ;