Driver Code
A = 53 NEW_LINE B = 16 NEW_LINE mx = max ( A , B ) ; NEW_LINE dp = [ [ - 1 for i in range ( mx + 1 ) ] for i in range ( mx + 1 ) ] NEW_LINE print ( getMinOperations ( A , B , - 1 , - 1 , dp ) ) ; NEW_LINE